// Path: PacMan-vs-Ghosts/src/game/controllers/EntityAction.java
// public class EntityAction {
// 
// 	protected Direction direction;
// 	
// 	public void left() {
// 		direction = Direction.LEFT;
// 	}
// 	
// 	public void right() {
// 		direction = Direction.RIGHT;
// 	}
// 	
// 	public void up() {
// 		direction = Direction.UP;
// 	}
// 	
// 	public void down() {
// 		direction = Direction.DOWN;
// 	}
// 	
// 	public void set(Direction dir) {
// 		direction = dir;
// 	}
// 	
// 	public void set(int directionIndex) {
// 		direction = Direction.forIndex(directionIndex);
// 	}
// 	
// 	public Direction get() {
// 		return direction;
// 	}
// 	
// 	public EntityAction clone() {
// 		EntityAction result = new EntityAction();
// 		
// 		result.direction = direction;
// 		
// 		return result;
// 	}
// 	
// 	public void reset() {
// 		direction = Direction.NONE;		
// 	}
// 	
// }


import game.controllers.EntityAction;
package game.controllers.pacman;


public final class PacManAction extends EntityAction {

	public boolean pauseSimulation;
	public boolean nextFrame;
	
	public void pause() {
		pauseSimulation = true;
	}
	
	public void resume() {
		pauseSimulation = false;
	}
	
	public void togglePause() {
		pauseSimulation = !pauseSimulation;
	}
	
	public void reset() {
		super.reset();
		pauseSimulation = false;
	}	
	
// Path: PacMan-vs-Ghosts/src/game/controllers/EntityAction.java
// public class EntityAction {
// 
// 	protected Direction direction;
// 	
// 	public void left() {
// 		direction = Direction.LEFT;
// 	}
// 	
// 	public void right() {
// 		direction = Direction.RIGHT;
// 	}
// 	
// 	public void up() {
// 		direction = Direction.UP;
// 	}
// 	
// 	public void down() {
// 		direction = Direction.DOWN;
// 	}
// 	
// 	public void set(Direction dir) {
// 		direction = dir;
// 	}
// 	
// 	public void set(int directionIndex) {
// 		direction = Direction.forIndex(directionIndex);
// 	}
// 	
// 	public Direction get() {
// 		return direction;
// 	}
// 	
// 	public EntityAction clone() {
// 		EntityAction result = new EntityAction();
// 		
// 		result.direction = direction;
// 		
// 		return result;
// 	}
// 	
// 	public void reset() {
// 		direction = Direction.NONE;		
// 	}
// 	
// }


// Path: PacMan-vs-Ghosts/src/game/controllers/pacman/PacManAction.java
import game.controllers.EntityAction;

package game.controllers.pacman;


public final class PacManAction extends EntityAction {

	public boolean pauseSimulation;
	public boolean nextFrame;
	
	public void pause() {
		pauseSimulation = true;
	}
	
	public void resume() {
		pauseSimulation = false;
	}
	
	public void togglePause() {
		pauseSimulation = !pauseSimulation;
	}
	
	public void reset() {
		super.reset();
		pauseSimulation = false;
	}	
	
	public PacManAction clone() {