Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (tile != myTile) {
- if (!getMap().canReach(tile)) {
- if (!getMap().canReach(tileGate)) {
- getWalking().walk(tile42);
- getWalking().getAStarPathFinder().calculate(tile42,tileGate);
- }
- } else if (getMap().canReach(tile)) {
- getWalking().walk(tile);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment