Index

A B C D F G I P R S T 
All Classes and Interfaces|All Packages

A

addCard(Deck) - Method in class Files.Player
Adds a Card to hand Calls drawCard() from deck to get a random card Only adds a Card if hand has less than 5 Card objects
addNeighbor(Territory) - Method in class Files.Territory
Adds a neighbor to the neighbors list

B

BoardManager - Class in Files
 
BoardManager(Integer) - Constructor for class Files.BoardManager
Constructs the BoardManager object Instantiates the individual Player objects in players Starts number for players at 0

C

Card - Class in Files
 
Card(boolean, boolean, boolean) - Constructor for class Files.Card
Constructs a card object
Continent - Class in Files
 
Continent(ArrayList<Territory>, int) - Constructor for class Files.Continent
 

D

Deck - Class in Files
 
Deck() - Constructor for class Files.Deck
Creates deck object with 14 of each type of card and 2 jokers
determineNumDice(boolean, String) - Method in class Files.Territory
 
determineTroopAmnt(Player) - Method in class Files.BoardManager
Determines amount of troops given to player at the start of turn * @param playerObject
Dice - Class in Files
 
Dice() - Constructor for class Files.Dice
 
drawRandom() - Method in class Files.Deck
Draws a random card, removes it from the deck, returns it

F

Files - package Files
 

G

GamePiece - Class in Files
 
GamePiece(String, Integer) - Constructor for class Files.GamePiece
Constructs a gamepiece object
GameRunner - Class in Files
 
GameRunner(SceneInfo) - Constructor for class Files.GameRunner
 
getAfrica() - Static method in class Files.BoardManager
 
getAsia() - Static method in class Files.BoardManager
 
getAustralia() - Static method in class Files.BoardManager
 
getBonusTroops() - Method in class Files.Continent
 
getCannon() - Method in class Files.Card
Accessor method to get the value of the cannon instance variable
getEurope() - Static method in class Files.BoardManager
 
getHorse() - Method in class Files.Card
Accessor method to get the value of the horse instance variable
getName() - Method in class Files.Player
Accesses the name of the player object
getNeighbors() - Method in class Files.Territory
Accessor method for the neighbors instance variable
getNorthAmerica() - Static method in class Files.BoardManager
 
getNum() - Method in class Files.Player
Accesses the number associated with the Player object
getOwner() - Method in class Files.Territory
Accessor method for playerOwner insance variable
getPieces() - Method in class Files.Territory
Accessor method for the pieces instance variable
getSouthAmerica() - Static method in class Files.BoardManager
 
getTerritories() - Method in class Files.Continent
 
getTerritoryName() - Method in class Files.Territory
Accessor method for the territoryName instance variable
getTroop() - Method in class Files.Card
Accessor method to get the value of the troop instance variable

I

initalizeTerritoryOwners() - Method in class Files.BoardManager
Evenly divides all the territories between the players.

P

Player - Class in Files
 
Player(Integer) - Constructor for class Files.Player
Constructor for Player object

R

rollDice() - Static method in class Files.Dice
Method to roll the dice with the specific number of sides
run() - Method in class Files.GameRunner
 

S

setName(String) - Method in class Files.Player
Sets the player's name to the parameter passed in
setOwner(Integer) - Method in class Files.Territory
Sets the owner of the territory object
setSides(Integer) - Static method in class Files.Dice
Constructs dice object with specific number of sides
setTerritoryName(String) - Method in class Files.Territory
Sets the name of the territory

T

Territory - Class in Files
 
Territory(String) - Constructor for class Files.Territory
Constructs a Territory object with the continent
toString() - Method in class Files.Card
toString method for the card object
A B C D F G I P R S T 
All Classes and Interfaces|All Packages