- calculateNewCost(int, String) - Method in class com.mygdx.game.Market
-
A method that calculates cost of market selling and buying prices.
- com.mygdx.game - package com.mygdx.game
-
- confirmSale - Variable in class com.mygdx.game.Market
-
button to confirm a trade
- constructAuctionInterface() - Method in class com.mygdx.game.Market
-
Builds the auction's visual interface by populating it with labels and buttons
Once this method has finished executing, the market can be drawn to a stage like any other actor
- constructButtons() - Method in class com.mygdx.game.Market
-
Instantiates the purchase/sale buttons to be placed in the market and sets their on-click functions
Obviously, these buttons enable players to buy and sell resources during certain game-phases
- constructInterface() - Method in class com.mygdx.game.Market
-
Builds the market's visual interface by populating it with labels and buttons
Once this method has finished executing, the market can be drawn to a stage like any other actor