AngryTanks.Client.Player.Die C# (CSharp) Method

Die() public method

public Die ( Player killer ) : void
killer Player
return void
        public virtual void Die(Player killer)
        {
            // move explosion animation to running state
            explosion.Running = true;

            // move into the exploding state
            state = PlayerState.Exploding;
        }