Ejemplo n.º 1
0
 protected override void onEnable()
 {
     GameLogic.IEventBus eventBus = GameLogic.Binder.EventBus;
     eventBus.OnCharacterRangedAttackStarted   += new GameLogic.Events.CharacterRangedAttackStarted(this.onCharacterRangedAttackStarted);
     eventBus.OnCharacterSkillBuildupCompleted += new GameLogic.Events.CharacterSkillBuildupCompleted(this.onCharacterSkillBuildupCompleted);
     eventBus.OnCharacterSkillExecuted         += new GameLogic.Events.CharacterSkillExecuted(this.onCharacterSkillExecuted);
 }
Ejemplo n.º 2
0
 protected void OnEnable()
 {
     GameLogic.IEventBus eventBus = GameLogic.Binder.EventBus;
     eventBus.OnGameplayEnded           += new GameLogic.Events.GameplayEnded(this.onGameplayEnded);
     eventBus.OnCharacterKilled         += new GameLogic.Events.CharacterKilled(this.onCharacterKilled);
     eventBus.OnCharacterSkillActivated += new GameLogic.Events.CharacterSkillActivated(this.onCharacterSkillActivated);
     eventBus.OnCharacterSkillExecuted  += new GameLogic.Events.CharacterSkillExecuted(this.onCharacterSkillExecuted);
 }
Ejemplo n.º 3
0
 protected void OnEnable()
 {
     GameLogic.IEventBus eventBus = GameLogic.Binder.EventBus;
     eventBus.OnGameplayStarted           += new GameLogic.Events.GameplayStarted(this.onGameplayStarted);
     eventBus.OnGameplayEnded             += new GameLogic.Events.GameplayEnded(this.onGameplayEnded);
     eventBus.OnCharacterSpawned          += new GameLogic.Events.CharacterSpawned(this.onCharacterSpawned);
     eventBus.OnCharacterPreDestroyed     += new GameLogic.Events.CharacterPreDestroyed(this.onCharacterPreDestroyed);
     eventBus.OnCharacterMeleeAttackEnded += new GameLogic.Events.CharacterMeleeAttackEnded(this.onCharacterMeleeAttackEnded);
 }
Ejemplo n.º 4
0
 protected override void onEnable()
 {
     GameLogic.IEventBus eventBus = GameLogic.Binder.EventBus;
     eventBus.OnCharacterRangedAttackStarted += new GameLogic.Events.CharacterRangedAttackStarted(this.onCharacterRangedAttackStarted);
     eventBus.OnCharacterMeleeAttackStarted  += new GameLogic.Events.CharacterMeleeAttackStarted(this.onCharacterMeleeAttackStarted);
 }