public abstract class AbstractSatelliteData extends Object implements SatelliteData
| Constructor and Description |
|---|
AbstractSatelliteData() |
| Modifier and Type | Method and Description |
|---|---|
double |
getMovementCost()
Returns the movement cost when moving over the Hexagon.
|
boolean |
isPassable()
Tells whether the Hexagon can be passed over when moving around the map or not.
|
void |
setMovementCost(double movementCost)
Sets the movement cost.
|
void |
setPassable(boolean passable)
Sets whether the Hexagon is passable or not.
|
public final boolean isPassable()
SatelliteDataisPassable in interface SatelliteDatapublic final void setPassable(boolean passable)
SatelliteDatasetPassable in interface SatelliteDatapublic final double getMovementCost()
SatelliteDatagetMovementCost in interface SatelliteDatapublic final void setMovementCost(double movementCost)
SatelliteDatasetMovementCost in interface SatelliteDataCopyright © 2016. All rights reserved.