IBuildingAuction, IShipAuctionAbstractAuction, BuildingAuction, ShipAuctionpublic interface IAuction
| Modifier and Type | Method | Description |
|---|---|---|
java.time.LocalDateTime |
getAuctionDate() |
Retrieve the date of the auction.
|
IPlayer |
getBiddingPlayer() |
Retrieve the currently bidding player.
|
java.util.List<IAIPlayer> |
getBiddingPlayers() |
Retrieve the list of AI players that can bid.
|
EBidLevel |
getBidLevel() |
Retrieve the current bid level.
|
int |
getCurrentBid() |
Retrieve the current bid of the bidding player.
|
ch.sahits.game.openpatrician.utilities.CancelableRunnable |
getCurrentTask() |
Retrieve the current task.
|
java.util.Optional<IPlayer> |
getOwner() |
Get the owner that is auctioning.
|
int |
getStartingBid() |
Retrieve the first bid amount.
|
void |
setAuctionDate(java.time.LocalDateTime newDate) |
Set the auction date.
|
void |
setBiddingPlayer(IPlayer player) |
Set the currently bidding player.
|
void |
setBiddingPlayers(java.util.List<IAIPlayer> players) |
Define the list of AI player that can bid.
|
void |
setBidLevel(EBidLevel level) |
Set the new bid level.
|
void |
setCurrentBid(int bid) |
Set the current bid.
|
void |
setCurrentTask(ch.sahits.game.openpatrician.utilities.CancelableRunnable task) |
Set the current task
|
java.time.LocalDateTime getAuctionDate()
void setAuctionDate(java.time.LocalDateTime newDate)
newDate - date of the actionint getStartingBid()
java.util.Optional<IPlayer> getOwner()
EBidLevel getBidLevel()
void setBidLevel(EBidLevel level)
level - bid levelIPlayer getBiddingPlayer()
void setBiddingPlayer(IPlayer player)
player - player with the highest bid.int getCurrentBid()
void setCurrentBid(int bid)
bid - current bidjava.util.List<IAIPlayer> getBiddingPlayers()
AIPlayers biddingvoid setBiddingPlayers(java.util.List<IAIPlayer> players)
players - list of AIPlayers biddingch.sahits.game.openpatrician.utilities.CancelableRunnable getCurrentTask()
void setCurrentTask(ch.sahits.game.openpatrician.utilities.CancelableRunnable task)
task - of the auctionCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.