} else if (spatialFormFile.equalsIgnoreCase("bullet")) {
return new Bullet(world, e);
} else if (spatialFormFile.equalsIgnoreCase("explosion")) {
return new Explosion(world, e);
} else if (spatialFormFile.equalsIgnoreCase("wall")) {
return new Wall(world, e);
}
return null;
}