Class FloorFactory
java.lang.Object
com.csse3200.game.entities.factories.FloorFactory
Factory to create Floor entities using individual PNG textures.
Each Floor entity type should have a creation method that returns a corresponding entity.
-
Method Details
-
createStaticFloor
Creates a static tiled floor entity.- Returns:
- entity
-
createGroundFloor
Creates a ground floor that extends to the bottom of the screen. -
createDecorativeFloor
Creates a decorative floor without physics collision.- Returns:
- entity
-