This commit is contained in:
parent
d0c3c5dad1
commit
61a94e2065
11 changed files with 112 additions and 2 deletions
|
@ -58,6 +58,9 @@ void CBossArenaTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
case TYPE_PLAYER:
|
||||
{
|
||||
CGameScene::hitBossArenaTrigger();
|
||||
shutdown();
|
||||
delete this;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -151,6 +151,10 @@
|
|||
#include "triggers\toilgeyser.h"
|
||||
#endif
|
||||
|
||||
#ifndef __TRIGGERS_TBOSS_H__
|
||||
#include "triggers\tboss.h"
|
||||
#endif
|
||||
|
||||
#ifndef __GAME_GAME_H__
|
||||
#include "game\game.h"
|
||||
#endif
|
||||
|
@ -334,7 +338,10 @@ CTrigger *trigger;
|
|||
case TRIGGER_OIL_GEYSER:
|
||||
trigger = (COilGeyserTrigger*)new("OilGeyserTrigger") COilGeyserTrigger();
|
||||
break;
|
||||
|
||||
// Boss Arena
|
||||
case TRIGGER_BOSS_ARENA:
|
||||
trigger = (COilGeyserTrigger*)new("BossArenaTrigger") CBossArenaTrigger();
|
||||
break;
|
||||
default:
|
||||
trigger=NULL;
|
||||
}
|
||||
|
|
|
@ -56,6 +56,7 @@ enum TRIGGER_TYPE
|
|||
TRIGGER_WIND_LEFT,
|
||||
TRIGGER_WIND_RIGHT,
|
||||
TRIGGER_OIL_GEYSER,
|
||||
TRIGGER_BOSS_ARENA,
|
||||
|
||||
// Code based triggers
|
||||
TRIGGER_PLATFORM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue