Ejemplo n.º 1
0
    public override void Die()
    {
        base.Die();
        SendDieToPlayer(Map.playerList);

        if (point != null)
        {
            point.Reset();
        }
        Map.TowerDestroyed(this);
    }
Ejemplo n.º 2
0
    public void ReceiveDie()
    {
        EffectExplosion.CreateExplosion(Position, 1.8f, Map);
        if (point != null)
        {
            point.Reset();
        }

        Map.TowerDestroyed(this);

        health = 0;
    }