public interface IAuction
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getAuctionDate()
Retrieve the date of the auction.
|
IPlayer |
getBiddingPlayer()
Retrieve the currently bidding player.
|
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.
|
CancelableRunnable |
getCurrentTask()
Retrieve the current task.
|
Optional<IPlayer> |
getOwner()
Get the owner that is auctioning.
|
int |
getStartingBid()
Retrieve the first bid amount.
|
void |
setAuctionDate(org.joda.time.DateTime newDate)
Set the auction date.
|
void |
setBiddingPlayer(IPlayer player)
Set the currently bidding player.
|
void |
setBiddingPlayers(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(CancelableRunnable task)
Set the current task
|
org.joda.time.DateTime getAuctionDate()
void setAuctionDate(org.joda.time.DateTime newDate)
newDate - int getStartingBid()
EBidLevel getBidLevel()
void setBidLevel(EBidLevel level)
level - IPlayer getBiddingPlayer()
void setBiddingPlayer(IPlayer player)
player - int getCurrentBid()
void setCurrentBid(int bid)
bid - List<IAIPlayer> getBiddingPlayers()
void setBiddingPlayers(List<IAIPlayer> players)
players - CancelableRunnable getCurrentTask()
void setCurrentTask(CancelableRunnable task)
task - Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.