public void updateGhostsWithoutReverse(EnumMap<GHOST, MOVE> ghostMoves) { ghostMoves = _completeGhostMoves(ghostMoves); _updateGhosts(ghostMoves); }
/** * Updates the states of the ghosts given the moves returned by the controller. * * @param ghostMoves The moves supplied by the ghosts controller */ public void updateGhosts(EnumMap<GHOST, MOVE> ghostMoves) { ghostMoves = _completeGhostMoves(ghostMoves); if (!_reverseGhosts(ghostMoves, false)) _updateGhosts(ghostMoves); }