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.*;
import pacman.game.Game;
/**
* Created by Piers on 11/11/2015.
*/
public abstract class IndividualGhostController {
protected final GHOST ghost;
protected final MASController controller;
public IndividualGhostController(GHOST ghost, MASController controller) {
this.ghost = ghost;
this.controller = controller;
}
public abstract MOVE getMove(Game game, long timeDue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy