void Awake() { nextfloor = new NextFloorHandler(nextFloor); unloaddungeon = new UnloadDungeonHundler(unloadDungeon); Stairs stairs = new Stairs(this); Stairs.Entity = stairs; Stairs.gotoNext = gotoNextFloor; GameControlProxy.add(this); GameController.GameActionEvent.UnloadDungeon += unloaddungeon; }
public GameActionEvent() { SpawnCharacter += new SpawnCharacterHandler(Dummy); DespawnCharacter += new DespawnCharacterHandler(Dummy); SpawnObjectEntity += new SpawnObjectEntityHandler(Dummy); DespawnObjectEntity += new DespawnObjectEntityHandler(Dummy); NextFloor += new NextFloorHandler(Dummy); DungeonRitire += new DungeonRitireHundler(Dummy); DungeonClear += new DungeonClearHunfler(Dummy); DungeonEscape += new DungeonEscapeHundler(Dummy); PlayerIsDead += new PlayerIsDeadHundler(Dummy); CharacterIsResurrection += new CharacterIsResurrectionHundler(Dummy); UnloadDungeon += new UnloadDungeonHundler(Dummy); ShopEmergency += new ShopEmergencyHundler(Dummy); RobberSuccess += new RobberSuccessHundler(Dummy); PreprocessingOfGameSave += new PreprocessingOfGameSaveHundler(Dummy); PreprocessingOfGameLoad += new PreprocessingOfGameLoadHunler(Dummy); PlayerUsedItem += new PlayerUsedItemHundler(Dummy); }