Fixing minor issues
This commit is contained in:
@ -15,7 +15,7 @@ public class ClydeStrategy implements GhostStrategy {
|
||||
if (distance > 8) {
|
||||
return pacTile; // chase Pac-Man
|
||||
} else {
|
||||
return new Point(0, map.getHeight() - 1); // retreat to corner
|
||||
return new Point(0, GameMap.OFFSET_Y + (map.rows() * GameMap.MAP_TILESIZE)); // retreat to corner
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user