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
- the origin locationdestination
- the destination locationannualMoves
- the annual number of movesshipType
- the type of ship to usepublic final WaterwayLocation getOrigin()
public final WaterwayLocation getDestination()
public final int getAnnualMoves()
public final ShipType getShipType()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.