void IModelPacMan.UpdateGhostA(eDirection direction, bool isScared) { _ePacmanPosition = ePacmanPosition.DownDown; CreateAndExecuteTurn( (ITurn turn) => { CmdMoveGhostA cmdMoveGhostA = new CmdMoveGhostA(direction, _ePacmanPosition, isScared); turn.Push(cmdMoveGhostA); }); }
void IModelPacMan.UpdateGhostA() { _eDirectionGhostA = eDirection.DOWN; _ePacmanPosition = ePacmanPosition.DownDown; CreateAndExecuteTurn( (ITurn turn) => { CmdMoveGhostA cmdMoveGhostA = new CmdMoveGhostA(_eDirectionGhostA, _ePacmanPosition); turn.Push(cmdMoveGhostA); }); }