pacman.controllers.IndividualGhostController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pacman-main Show documentation
Show all versions of pacman-main Show documentation
The main code for Ms. Pac-Man Vs Ghosts
package pacman.controllers;
import pacman.game.Constants.GHOST;
import pacman.game.Constants.MOVE;
import pacman.game.Game;
/**
* Created by Piers on 11/11/2015.
*/
public abstract class IndividualGhostController {
protected final GHOST ghost;
public IndividualGhostController(GHOST ghost) {
this.ghost = ghost;
}
public abstract MOVE getMove(Game game, long timeDue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy