/// <summary> /// Received when all CombatControllers have been spawned. /// </summary> /// <param name="e"></param> void OnCombatArenaAllSpawnedEvent(CombatArena.AllSpawnedEvent e) { // Configure this system-specific components for each CombatController ConfigureCombatControllers(); // Call the combat system's main start up this.OnCombatStart(); // Combat is now unresolvesd IsResolved = false; // Enable the combat HUD var seq = StratusActions.Sequence(this); StratusActions.Delay(seq, 2.5f); StratusActions.Call(seq, this.DisplayHUD); // Now announce that combat has started to the space! var combatStarted = new Combat.StartedEvent(); combatStarted.Encounter = Arena.encounter; Scene.Dispatch <Combat.StartedEvent>(combatStarted); }
/// <summary> /// Initializes the combat arena. /// </summary> /// <param name="e"></param> void OnCombatStartedEvent(Combat.StartedEvent e) { this.Initialize(e.Encounter); }
void OnCombatStartedEvent(Combat.StartedEvent e) { }