public void Battle() { _legs.Walk(); _talker.Talk(); _torso.Flex(); _torso.Fight(); _legs.Kick(); }
private void OnCollisionEnter(Collision collision) { if (!legs.getPlayerKicked()) { if (collision.gameObject.GetComponent <PlayerStats>() != null) { legs.Kick(); exists = false; cooldowntimer = 5; GetComponent <BoxCollider>().enabled = false; } } }
public void Battle() { _head.Talk(); _legs.Kick(); }