A B C D E F G H I K L M N O P R S T U V W X Y 

T

testAdding() - Static method in class game.HeapTester
Test that adding distinct values get added.
testPollingOrder() - Static method in class game.HeapTester
Return true iff values removed from a heap are in increasing order.
testUpdatePriority() - Static method in class game.HeapTester
Return true iff updating priorities functions correctly.
TextIO - Class in gui
This class enables reading and writing text from/to a file.
to(Vector) - Method in class game.Vector
Return a new vector from this to b.
toggleInteractable() - Method in class gui.GUI
Toggle the interactability.
toJSONString() - Method in class game.Board
Return a JSON-compliant version of toString().
toJSONString() - Method in class game.Edge
Return the exits and length for an edge's JSON string
toJSONString() - Method in class game.Node
Return just this' name for the JSONString - relies on JSONs of Edges and parcels to take care of themselves.
toJSONString() - Method in class game.Parcel
Return this parcel's start location and its color for JSON string.
toJSONString() - Method in class game.Truck
Return a JSON String of this truck.
TOLERANCE - Static variable in class game.Vector
Tolerance to consider two vector components equal.
toString() - Method in class game.Board
Return a String representation of this board, including edges and nodes.
toString() - Method in class game.Edge
Return a String representation of this edge: getFirstExit().name + " to " + getSecondExit().name
toString() - Method in interface game.MinHeap
Return a string that represents this heap, in the format: [item1:priority1, item2:priority2, ..., itemN:priorityN] Use the toString() function of the items.
toString() - Method in class game.Node
Return the name of this Node.
toString() - Method in class game.Score
Return the current score value as a String.
toString() - Method in class game.Truck
Return a string representation of this Truck --its name.
toString() - Method in class game.Vector
Return a string representation of this vector: .
toString() - Method in class gui.Circle
Return a string representation of this circle.
toString() - Method in class gui.Line
Return a String representation of this line
TRAVELING_COLOR - Static variable in class gui.Line
Color of lines when they are being traveled by a truck, if HIGHLIGHT_TRAVEL is selected
Truck - Class in game
CLass Truck is a runnable object that represents a single Truck in the game.
Truck.Status - Enum in game
The Two states that a Truck can be in at any time - either Waiting (staying on its location and awaiting further travel instructions) or Traveling (currently moving from node to node according to its travel instructions).
truckNotification(Truck, Manager.Notification) - Method in class game.Manager
Called by Truck t to notify the manager that something has occurred.
trucksHere() - Method in interface game.BoardElement
Return the number of trucks here.
trucksHere() - Method in class game.Edge
Return the number of trucks currently traveling this edge.
trucksHere() - Method in class game.Node
Return the number of trucks at this node.
trucksHere() - Method in class game.Parcel
Return 1 if a truck is currently holding this Parcel, 0 otherwise
trucksHere() - Method in class game.Truck
Return 1 -- there is always one truck at itself
truckStats() - Method in class game.Game
Return the truck stats for the current game in the form [waiting, traveling, getting manager input]
A B C D E F G H I K L M N O P R S T U V W X Y