Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
G
M
N
P
A
addPlayer(Player)
- Method in class
Course
Adds a player to the course
C
Course
- class
Course
.
Course is truly a misnomer here.
Course()
- Constructor for class
Course
The constructor takes no parameters.
G
getDone()
- Method in class
Player
A boolean accessor for the done variable
getPlayers()
- Method in class
Course
returns an (ennumeration) (dictionary) ordered collection of the Player objects that are on the Course.
Group
- class
Group
.
Group is really an iterator class.
Group(Vector)
- Constructor for class
Group
the constructor takes in a Vector of Player objects over which to iterate.
M
main(String[])
- Static method in class
MiniatureGolf
The main method.
MiniatureGolf
- class
MiniatureGolf
.
MiniatureGolf is a program that simulates a group of golf players on a course.
MiniatureGolf()
- Constructor for class
MiniatureGolf
morePlayersLeft()
- Method in class
Group
a boolen test to check if there are any more Players over which to iterate.
N
newHole()
- Method in class
Player
a way for the player to "advance" to the next hole
nextPlayer()
- Method in class
Group
nextPlayer() is called to acces the next Player in the Group.
P
Player
- class
Player
.
The Player class can be instantiated several times to add to a Group, and play can begin.
Player(int)
- Constructor for class
Player
Player's constructor take in the identifying player number.
putt()
- Method in class
Player
a method that makes the player putt for the hole.
A
C
G
M
N
P
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes