Exemplo n.º 1
0
        /// <summary>
        /// Performs the backwards event
        /// </summary>
        public override bool BackwardAction(TimeMachine timeMachine, GameState state)
        {
            if (this.EventSuccess)
            {
                state.GetCombatableById(GetEventData().SourceId).UndoLaunch(state, this);
                foreach (GameEvent e in combatEvents)
                {
                    timeMachine.RemoveEvent(e);
                }
                combatEvents.Clear();
            }

            return(this.EventSuccess);
        }