Modifier and Type | Field and Description |
---|---|
private Plot |
GameEngine.activePlot |
private Plot |
Roboticon.AssignedPlot |
private Plot[] |
GameEngine.plots |
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Plot> |
Player.plots |
Modifier and Type | Method and Description |
---|---|
Plot |
GameEngine.getActivePlot()
Gets the currently selected plot
|
Plot |
Roboticon.getPlot()
Get the currently assigned plot object
|
Plot[] |
GameEngine.getPlots()
Gets all of the plots for the game
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Plot> |
Player.getPlots()
This returns the list of plots that the player owns
|
Modifier and Type | Method and Description |
---|---|
void |
Player.AcquirePlot(Plot plot)
This allows the player to acquire a new plot which in turn adds the plot to the list of plots the player owns
|
private void |
AIPlayer.AIAcquirePlot(Plot[] plots)
Allows the AIPlayer to acquire a random plot given a list of available plots
|
void |
AIPlayer.CompleteTurn(Plot[] plots,
MarketPlace market)
The function for the ai to complete their turn automatically given a list of available plots and the market so that it can interact with them.
|
void |
GameEngine.setActivePlot(Plot plot)
Sets the currently active plot to the plot passed to the function
|
boolean |
Roboticon.setPlot(Plot plot)
Set the plot the roboticon is assigned to
|