public abstract class AbstractAuction extends Object implements IAuction
IAuction.IAuction| Modifier and Type | Field and Description |
|---|---|
private java.time.LocalDateTime |
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(java.time.LocalDateTime auctionDate,
int startingBid)
Construct an auction object without an owner.
|
AbstractAuction(java.time.LocalDateTime 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 java.time.LocalDateTime auctionDate
private final int startingBid
private EBidLevel bidLevel
private IPlayer biddingPlayer
private int currentBid
private CancelableRunnable currentTask
public AbstractAuction(java.time.LocalDateTime auctionDate,
int startingBid)
auctionDate - startingBid - public AbstractAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner)
auctionDate - startingBid - owner - Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.