public abstract class AbstractAuction extends Object implements IAuction
IAuction.IAuction| Modifier and Type | Field and Description |
|---|---|
private org.joda.time.DateTime |
auctionDate |
private IPlayer |
biddingPlayer |
private List<IAIPlayer> |
biddingPlayers |
private EBidLevel |
bidLevel |
private int |
currentBid |
private CancelableRunnable |
currentTask |
private Optional<IPlayer> |
owner |
private int |
startingBid |
| Constructor and Description |
|---|
AbstractAuction(org.joda.time.DateTime auctionDate,
int startingBid)
Construct an auction object without an owner.
|
AbstractAuction(org.joda.time.DateTime auctionDate,
int startingBid,
IPlayer owner)
Create an auction object with a specific owner.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuctionDate, getBiddingPlayer, getBiddingPlayers, getBidLevel, getCurrentBid, getCurrentTask, getOwner, getStartingBid, setAuctionDate, setBiddingPlayer, setBiddingPlayers, setBidLevel, setCurrentBid, setCurrentTaskprivate org.joda.time.DateTime auctionDate
private final int startingBid
private EBidLevel bidLevel
private IPlayer biddingPlayer
private int currentBid
private CancelableRunnable currentTask
public AbstractAuction(org.joda.time.DateTime auctionDate,
int startingBid)
auctionDate - startingBid - public AbstractAuction(org.joda.time.DateTime auctionDate,
int startingBid,
IPlayer owner)
auctionDate - startingBid - owner - Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.