public void ChangeBehavior(ChangeStateGhosts changeState) { changeState.Ghosts.SetStrategyGoToCorner(); changeState.State = new StateScatter(); }
public void ChangeBehavior(ChangeStateGhosts changeState) { changeState.Ghosts.SetStrategyRunForPacman(); changeState.State = new StateAttack(); }