Ejemplo n.º 1
0
 public void StartForwardDash()
 {
     character.busy = true;
     forwardDashing = true;
     dashProgress   = 0;
     animSet.PlayAnim(RyuAnimSet.FORWARDDASH);
     DoForwardDash();
 }
Ejemplo n.º 2
0
    public void TakeHit(int damage)
    {
        health -= damage;
        Debug.Log("HEALTH: " + health);
        //TODO update health bar

        if (health <= 0)
        {
            //TODO DEATH HANDLING
        }
        else
        {
            animSet.PlayAnim(AnimSet.NORMALHIT);
        }
    }