Package game.core

Class Replay.ReplayGhosts

java.lang.Object
game.core.Replay.ReplayGhosts
All Implemented Interfaces:
IGhostsController
Enclosing class:
Replay

public class Replay.ReplayGhosts
extends java.lang.Object
implements IGhostsController
  • Constructor Summary

    Constructors 
    Constructor Description
    ReplayGhosts​(int ghostCount)  
  • Method Summary

    Modifier and Type Method Description
    GhostsActions getActions()
    Return GhostsActions containing Ghosts decision, what to do next.
    int getGhostCount()
    How many ghosts (0-4) this controller control.
    int[] getLocations​(Game game)  
    void nextLevel​(Game game)
    Level has been changed!
    void reset​(Game game)
    Resets the controller before game starts.
    void tick​(Game game, long timeDue)
    Perform action-selection for all ghosts based on information from Game.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait