Britbot
override bool Britbot.Simulator.ReviveEvent.Activate ( SimulatedGame  sg) [inline, virtual]

This virtual method should activate the event returns true only if simulation is finished.

Implements Britbot.Simulator.SimulatedEvent.

Definition at line 22 of file ReviveEvent.cs.

        {
            this.GroupToRevive.IsAlive = true;
            if (this.GroupToRevive.Owner == Consts.ME)
                sg.MyDeadPirates -= this.GroupToRevive.FirePower;
            else
                sg.EnemyDeadPirates -= this.GroupToRevive.FirePower;

            return false;
        }