Beispiel #1
0
 public void ChangeBehavior(ChangeStateGhosts changeState)
 {
     changeState.Ghosts.SetStrategyGoToCorner();
     changeState.State = new StateScatter();
 }
Beispiel #2
0
 public void ChangeBehavior(ChangeStateGhosts changeState)
 {
     changeState.Ghosts.SetStrategyRunForPacman();
     changeState.State = new StateAttack();
 }