public class OtherDemand.OtherDemandCell extends Object
Constructor and Description |
---|
OtherDemandCell(WaterwayLocation origin,
WaterwayLocation destination,
int annualMoves,
ShipType shipType) |
Modifier and Type | Method and Description |
---|---|
int |
getAnnualMoves() |
WaterwayLocation |
getDestination() |
WaterwayLocation |
getOrigin() |
ShipType |
getShipType() |
public OtherDemandCell(WaterwayLocation origin, WaterwayLocation destination, int annualMoves, ShipType shipType)
origin
- WaterwayLocation; the origin locationdestination
- WaterwayLocation; the destination locationannualMoves
- int; the annual number of movesshipType
- ShipType; the type of ship to usepublic final WaterwayLocation getOrigin()
public final WaterwayLocation getDestination()
public final int getAnnualMoves()
public final ShipType getShipType()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.