|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrlgamekit.demo.pathfinding.PathSourceLink
public class PathSourceLink
Pathfinding will access map data through this class.
| Constructor Summary | |
|---|---|
PathSourceLink(LayeredMap map)
|
|
| Method Summary | |
|---|---|
boolean |
isMoveAllowed(int fromX,
int fromY,
int toX,
int toY)
Checks if player is allowed to move into map cell (toX, toY) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathSourceLink(LayeredMap map)
| Method Detail |
|---|
public boolean isMoveAllowed(int fromX,
int fromY,
int toX,
int toY)
isMoveAllowed in interface PathSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||