Class StockMarket
- java.lang.Object
-
- org.rspeer.game.component.stockmarket.StockMarket
-
public class StockMarket extends Object
Provides operations relating to the gamesStockmarket
(commonly referred to as the Grand Exchange)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StockMarket.History
static class
StockMarket.Sets
static class
StockMarket.View
-
Constructor Summary
Constructors Constructor Description StockMarket()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
collectAll(boolean toBank)
static StockMarketOfferBuilder
createOffer(StockMarketable.Type type)
static StockMarketTransaction
getOpenTransaction()
static int
getOpenTransactionIndex()
static StockMarket.View
getView()
static boolean
isFull()
static boolean
isOpen()
static boolean
open()
static StockMarketTransactionQuery
query()
-
-
-
Method Detail
-
isFull
public static boolean isFull()
-
query
public static StockMarketTransactionQuery query()
-
createOffer
public static StockMarketOfferBuilder createOffer(StockMarketable.Type type)
-
isOpen
public static boolean isOpen()
-
open
public static boolean open()
-
collectAll
public static boolean collectAll(boolean toBank)
-
getOpenTransaction
public static StockMarketTransaction getOpenTransaction()
-
getOpenTransactionIndex
public static int getOpenTransactionIndex()
-
getView
public static StockMarket.View getView()
-
-