Fixing minor issues

This commit is contained in:
Urban Modig
2025-08-20 16:33:18 +02:00
parent 8e546fe942
commit d06e7131ad
3 changed files with 3 additions and 2 deletions

View File

@ -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
}
}
}