Class and Description |
---|
AIPlayer
This class extends Player and builds upon to all AI functionality for a player to make choices by itself
It contains the following methods:
- CompleteTurn(Plot[] plots, MarketPlace market)
|
GameEngine
This is where all of the game logic will be done allowing a game to be played
It contains the following methods:
- Start()
- Stop()
- update(float deltaTime)
|
MarketPlace
This is the Market Place class.
|
Player
This where all of the information for each player is along with all of the actions they can perform.
|
Plot
This is the Plot class.
|
Pub
Represents the Pub methods, ie the gambling system of the game.
|
Resource
Enumeration of resource types
|
Roboticon
Roboticon class
Implements the roboticon class for the game
Has private attributes:
- Constant BASEPROD as int
- Base production rate of each resource as ints
- OreProd
- EnergyProd
- Specialisation as enumerated Resource
- AssignedPlot as Plot
Contains getters and setters for:
- Base Production ('BaseProd')
- Specialisation ('Spec')
- Plot ('Plot')
Also includes a method to calculate the roboticon's production for this round after modifiers have been applied
Note that BaseProd should normally be set by the specialisation process, rather than changed manually
|