public void ReceiveInput(Hero role, ActStyle act) { if (act == ActStyle.DOWN) { role.ChangeState(new Kill()); } }
public void ReceiveInput(Hero role, ActStyle act) { switch (act) { case ActStyle.UP: role.ChangeState(new State_StandUp()); break; } }
public void ReceiveInput(Hero role, ActStyle act) { switch (act) { case ActStyle.DOWN: role.ChangeState(new Crouch()); break; case ActStyle.UP: role.ChangeState(new Jump()); break; } }
public void Act(ActStyle act) { CurState.ReceiveInput(this, act); }
public void ReceiveInput(Hero role, ActStyle act) { }