示例#1
0
    public override void CalculateHit(int amount)
    {
        //Remove heart from UI
        UserInterface.DecreasePlayerHealth();
        base.CalculateHit(amount);

        if (HitPoints <= 0)
        {
            GameMngr.EndGame();
        }
    }