Class StockMarketOfferBuilder
- java.lang.Object
-
- org.rspeer.game.component.stockmarket.StockMarketOfferBuilder
-
public class StockMarketOfferBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description StockMarketOfferBuilder(StockMarketable.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StockMarketOffer
build()
StockMarketOfferBuilder
item(int itemId)
StockMarketOfferBuilder
item(String name)
StockMarketOfferBuilder
item(Function<ItemQuery,Item> item)
StockMarketOfferBuilder
price(IntToIntFunction price)
StockMarketOfferBuilder
price(StockMarketOffer.PriceChange change)
StockMarketOfferBuilder
price(StockMarketOffer.PriceChange change, int times)
StockMarketOfferBuilder
quantity(int quantity)
StockMarketOfferBuilder
quantity(IntSupplier quantity)
-
-
-
Constructor Detail
-
StockMarketOfferBuilder
public StockMarketOfferBuilder(StockMarketable.Type type)
-
-
Method Detail
-
item
public StockMarketOfferBuilder item(int itemId)
-
item
public StockMarketOfferBuilder item(Function<ItemQuery,Item> item)
-
item
public StockMarketOfferBuilder item(String name)
-
price
public StockMarketOfferBuilder price(IntToIntFunction price)
-
price
public StockMarketOfferBuilder price(StockMarketOffer.PriceChange change, int times)
-
price
public StockMarketOfferBuilder price(StockMarketOffer.PriceChange change)
-
quantity
public StockMarketOfferBuilder quantity(IntSupplier quantity)
-
quantity
public StockMarketOfferBuilder quantity(int quantity)
-
build
public StockMarketOffer build()
-
-