paradoxed

Untitled

Mar 7th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if (tile != myTile) {
  2. if (!getMap().canReach(tile)) {
  3. if (!getMap().canReach(tileGate)) {
  4. getWalking().walk(tile42);
  5. getWalking().getAStarPathFinder().calculate(tile42,tileGate);
  6. }
  7. } else if (getMap().canReach(tile)) {
  8. getWalking().walk(tile);
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment