- unit() - Method in class game.Vector
-
Make this vector have length 1, with the same direction, and
Return this Vector.
- UPDATE_PANEL_HEIGHT - Static variable in class gui.GUI
-
- updateColor() - Method in class gui.Circle
-
Change the color according to the Color Policy
- updateGUILocation(int, int) - Method in interface game.BoardElement
-
Update the location of this on the gui (change it to (x, y)).
- updateGUILocation(int, int) - Method in class game.Edge
-
Repaint the edge (the line).
- updateGUILocation(int, int) - Method in class game.Node
-
Update the circle graphic that represents this truck on the GUI.
- updateGUILocation(int, int) - Method in class game.Parcel
-
Update the circle position to (x, y).
- updateGUILocation(int, int) - Method in class game.Truck
-
Update the circle graphic that represents this truck on the GUI.
- updateMinMaxLength() - Method in class game.Board
-
Update the Minimum and Maximum lengths of all edge instances.
- updateParcelAndTruckStats() - Method in class gui.GUI
-
Update the GUI to show the new parcel stats and Truck stats.
- updatePriority(T, double) - Method in interface game.MinHeap
-
Change the priority of t to p.
- updateRunning() - Method in class gui.GUI
-
Update the gui to reflect the game's running state.
- updateScore(int) - Method in class gui.GUI
-
Update the GUI to show the newScore.
- updateToColorPolicy() - Method in class gui.Line
-
Update the Color of this Line according to the currently selected color policy.
- UserData - Interface in game
-
Classes that implement the UserData interface
allow the user to store data in them.