Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
G
I
L
M
N
O
P
R
S
T
W
B
BOARD
- Static variable in class
Monotony
Board
- class
Board
.
Board(String)
- Constructor for class
Board
This constructor creates a "board" from a board file.
BoardSpace
- interface
BoardSpace
.
This interface defines a space on the Monotony board.
BoardTest
- class
BoardTest
.
BoardTest.java This is a small program to test the board class.
BoardTest()
- Constructor for class
BoardTest
C
ComputerPlayer
- class
ComputerPlayer
.
ComputerPlayer.java This class represents a computer player.
ComputerPlayer(String, Board)
- Constructor for class
ComputerPlayer
This is the default constructor.
D
Dice
- class
Dice
.
Dice()
- Constructor for class
Dice
This is the default constructor.
Dice(int, int)
- Constructor for class
Dice
This is a Dice constructor.
DiceTester
- class
DiceTester
.
This is a tester program for the Dice class.
DiceTester()
- Constructor for class
DiceTester
d
- Static variable in class
Monotony
deposit(int)
- Method in class
Player
This method deposits money into the player's holdings.
E
endGame()
- Static method in class
Monotony
This method ends the game.
G
GoSpace
- class
GoSpace
.
This is an implementation of the BoardSpace interface that represents the Go space on the Monotony board.
GoSpace(String)
- Constructor for class
GoSpace
Creates a GoSpace with the corresponding message that is printed out when a person lands on it.
gamePlay()
- Static method in class
Monotony
This method is used for moving the players around the board and playing the game.
gen
- Static variable in class
Monotony
gen
- Static variable in class
Sued
getDie1()
- Method in class
Dice
This is the getter for the first die.
getDie2()
- Method in class
Dice
This is the getter for the second die.
getLocation(int)
- Method in class
Board
This returns the BoardSpace at a given location.
getLocation()
- Method in class
Player
This method returns the location of the player on the board.
getMoney()
- Method in class
Player
This method returns the current amount of money that the player has.
getName()
- Method in interface
BoardSpace
This method should return the name of the BoardSpace.
getName()
- Method in class
GoSpace
Returns the name of the space, as required by the BoardSpace interface.
getName()
- Method in class
Player
This method returns the name of the player.
getName()
- Method in class
Property
This method returns the name of this Property.
getName()
- Method in class
Sued
This method returns the name of the space in the for of a string.
getOwner()
- Method in class
Property
This method returns a reference to the owner of this property.
getPrice()
- Method in class
Property
This method returns the price of this property.
getProperties()
- Method in class
Player
This method returns the entire ArrayList of properties.
getProperty(int)
- Method in class
Player
This method returns the property at a given location in the property ArrayList.
getRent()
- Method in class
Property
This method returns the rent of this property.
getSize()
- Method in class
Board
This method returns the number of spaces on the board.
getSum()
- Method in class
Dice
This is the getter for the sum of the dice.
I
in
- Static variable in class
Monotony
input
- Static variable in class
Monotony
isOwned()
- Method in class
Property
This method returns true if this property is owned, false otherwise.
L
lastLocation
- Static variable in class
Monotony
M
Monotony
- class
Monotony
.
Monotony()
- Constructor for class
Monotony
main(String[])
- Static method in class
BoardTest
main(String[])
- Static method in class
DiceTester
main(String[])
- Static method in class
Monotony
main(String[])
- Static method in class
PlayerTester
move(int)
- Method in class
Player
This method moves the player around the the board.
N
numOfPlayers
- Static variable in class
Monotony
O
onLanding(Player)
- Method in interface
BoardSpace
This method should define the actions that occur when a player lands on a particular space on the board.
onLanding(Player)
- Method in class
GoSpace
This method defines what happens when a player lands on this space as required by the BoardSpace interface.
onLanding(Player)
- Method in class
Property
This method specifies the actions that occur when a player lands on the property.
onLanding(Player)
- Method in class
Sued
This is the onLanding() method.
P
Player
- class
Player
.
Player(String, Board)
- Constructor for class
Player
This is the constructor that creates a player.
PlayerTester
- class
PlayerTester
.
PlayerTester.java This class tests to be sure that the Player and the ComputerPlayer objects are working correctly.
PlayerTester()
- Constructor for class
PlayerTester
Property
- class
Property
.
This is an implementation of the BoardSpace interface that represents a property on the Monotony board.
Property(String, int, int)
- Constructor for class
Property
This method creates a property.
players
- Static variable in class
Monotony
pointer
- Static variable in class
Monotony
purchase(Property)
- Method in class
Player
This methods purchases the property for the player.
R
roll()
- Method in class
Dice
This is the roll method.
S
Sued
- class
Sued
.
Sued()
- Constructor for class
Sued
This is the default constructor.
setDie1(int)
- Method in class
Dice
This is the setter method for die1.
setDie2(int)
- Method in class
Dice
This is the setter method for die2.
setOwner(Player)
- Method in class
Property
This method sets the owner of this Property to the specified player.
startGame()
- Static method in class
Monotony
This method is used to begin the game.
T
toString()
- Method in class
Board
This is the toString method.
toString()
- Method in class
Dice
This is the toString() method for the Dice object.
toString()
- Method in class
GoSpace
This method returns a String representation of a the Go space.
toString()
- Method in class
Player
This method returns the information about the player in the form of a string.
toString()
- Method in class
Property
This method returns information about the Property in the format of a String.
toString()
- Method in class
Sued
This is the toString() method that returns a string representation of the Sued space.
W
withdraw(int)
- Method in class
Player
This method takes money out of the player's holdings.
B
C
D
E
G
I
L
M
N
O
P
R
S
T
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes