IAuction, IShipAuctionpublic class ShipAuction extends AbstractAuction implements IShipAuction
| Constructor | Description |
|---|---|
ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip auctionedShip) |
Create a ship auction together with it's owner.
|
ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IShip auctionedShip) |
Create a ship auction where the ship did not have a previous owner.
|
getAuctionDate, getBiddingPlayer, getBiddingPlayers, getBidLevel, getCurrentBid, getCurrentTask, getOwner, getStartingBid, setAuctionDate, setBiddingPlayer, setBiddingPlayers, setBidLevel, setCurrentBid, setCurrentTaskgetAuctionedShippublic ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IShip auctionedShip)
auctionDate - date of the auctionstartingBid - first bid of the auctionauctionedShip - ship to be auctionedpublic ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip auctionedShip)
auctionDate - date of the auctionstartingBid - first bid of the auctionowner - of the shipauctionedShip - ship to be auctionedCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.