- magnitude() - Method in class game.Vector
-
Return the length of this vector.
- main(String[]) - Static method in class game.HeapTester
-
Test the user-defined heap.
- Main - Class in game
-
Game starting methods.
- Main() - Constructor for class game.Main
-
- main(String[]) - Static method in class game.Main
-
Read args for a string of a ClassName of the Manager to create, then create
an instance of that manager class, create the game and the threads, and start the game.
- Manager - Class in game
-
Class Manager determines the the behavior of the Trucks.
- manager - Variable in class game.Score
-
The manager for which this Score object keeps track.
- Manager.Notification - Enum in game
-
Message options from a truck to a manager include the following.
- MAP_DIRECTORY - Static variable in class game.Game
-
The directory that contains the map.
- MAP_EXTENSION - Static variable in class game.Game
-
The extension of the maps' file name --usually .txt .
- MAX_SPEED - Static variable in class game.Truck
-
Maximum length/frame speed that a truck can travel.
- maxHeapSizeForPolling - Static variable in class game.HeapTester
-
- maxHeapSizeForUpdate - Static variable in class game.HeapTester
-
- message - Variable in class game.GameRunner.GameScore
-
the message.
- MIN_SPEED - Static variable in class game.Truck
-
Minimum length/frame speed that a truck can travel.
- MinHeap<T> - Interface in game
-
An implementation implements a dynamically sized min Heap of elements
of type T.
- mult(double) - Method in class game.Vector
-
Multiply both of this vector's components by s and
return this Vector.