public void loadMap(String mapFile) { mapEngine = new MapEngine(this, mapFile, textures); aiEngine.generateAIMesh(); physicsEngine.generateCollisionGrid(500); }