- score - Variable in class game.GameRunner.GameScore
-
the score.
- Score - Class in game
-
Class Score monitors the score of a Game for a given Manager.
- seed - Variable in class game.Board
-
The random seed from which this Board was generated:
-1 if loaded from a non-random file.
- setCircle(Circle) - Method in class game.Node
-
Set the Circle for this Node to c.
- setColor(Color) - Method in class gui.Circle
-
Set the color of this circle to c.
- setColorPolicy(Line.ColorPolicy) - Static method in class gui.Line
-
Set the colorPolicy to policy.
- setFrame(int) - Method in class game.Game
-
Set the duration of a frame for this game, in milliseconds.
- setGame(Game) - Method in class game.Manager
-
Set the game this manager is watching to g.
- setGame(Game) - Method in class gui.GUI
-
Set the game to Game g and redraw the map.
- setGUI(GUI) - Method in class game.Game
-
Set the GUI that draws this game to g.
- setManager(String) - Method in class game.Game
-
If the manager and managerClass are null, set the manager to the class whose
name is managerClassname.
- setSpeed(int) - Method in class game.Truck
-
Set this trucks speed.
- setTravelPath(List<Node>) - Method in class game.Truck
-
Clear the travel queue, then
Set the travel queue to travel the given path.
- setTravelQueue(List<Edge>) - Method in class game.Truck
-
Clear the Travel queue, then
Set the travel queue to travel the given list of edges, in order.
- setTruckName(String) - Method in class game.Truck
-
Set the name of this Truck to newName and, if it is not yet assigned
to this thread, set it to this thread.
- setUpdateMessage(String) - Method in class game.Game
-
Update the GUI to show s as an update message for a few seconds.
- setUpdateMessage(String) - Method in class gui.GUI
-
Update the GUI to show newUpdate as an update message and
start a timer thread to delete the message after a few seconds.
- setUserData(Object) - Method in class game.Edge
-
Set the value of userData to uData.
- setUserData(Object) - Method in class game.Node
-
Set the value of userData to uData.
- setUserData(Object) - Method in class game.Parcel
-
Set the userData to uData.
- setUserData(Object) - Method in class game.Truck
-
Set the value of userData to uData.
- setUserData(Object) - Method in interface game.UserData
-
Change the stored object ot ob.
- setX1(int) - Method in class gui.Circle
-
Set the x coordinate of this circle to x.
- setY1(int) - Method in class gui.Circle
-
Set the y coordinate of this circle to y
- sharesExit(Edge) - Method in class game.Edge
-
Return true iff this Edge and r share an exit.
- SIDE_PANEL_WIDTH - Static variable in class gui.GUI
-
- size() - Method in interface game.MinHeap
-
Return the size of the Heap.
- start() - Method in class game.Game
-
Start the game by the manager run; then have each truck begin running.
- start - Variable in class game.Parcel
-
The node on which this this parcel started.
- status - Variable in class game.GameRunner.GameScore
-
the status.
- studentDirectory - Static variable in class game.Main
-
Student directory
- sumTo(int) - Static method in class game.Main
-
Return the sum of the natural numbers in 0..i, recursively!
(mathematicially, that's 0 if i < 0)