- refreshAuction() - Method in class com.mygdx.game.Market
-
Enables and disables various buttons in the auction based on the players inventory and the value
of the current resources and price of the current trade
- refreshButtonAvailability() - Method in class com.mygdx.game.Market
-
Enables/disables the market's purchase/sale buttons and updates their colours to reflect the player's current
amount of money, the game's current phase and the player's inventory
GRAY: Cannot buy/sell resource on the current phase
GREEN: Can buy/sell resource
RED: Cannot buy/sell resource due to a lack of money or stock
- refreshPlayers() - Method in class com.mygdx.game.Market
-
updates the other player list so all players except the current player are in it
- RoboticonBuyPrice - Variable in class com.mygdx.game.Market
-
Variable holding roboticon buying price.
- RoboticonStock - Variable in class com.mygdx.game.Market
-
Variable holding current amount of Roboticons as an int, initialises at 12 as stated in the brief.
- roboticonStockLabel - Variable in class com.mygdx.game.Market
-
Visualises the amount of Roboticon stocks currently held by the market