Constructor and Description |
---|
PathData(String category,
double cost,
boolean blocking,
Collection<MovementTile> movements)
Create a path data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Collection<MovementTile> |
getAllowedMovements()
Get the allowed movements.
|
double |
getCost()
Get the cost value.
|
String |
getName() |
int |
hashCode() |
boolean |
isBlocking()
Get the blocking state.
|
public PathData(String category, double cost, boolean blocking, Collection<MovementTile> movements)
category
- The category name.cost
- The cost value.blocking
- The blocking flag.movements
- The allowed movements.public double getCost()
public boolean isBlocking()
true
if blocking, false
else.public Collection<MovementTile> getAllowedMovements()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.