Class ObstacleFactory
java.lang.Object
com.csse3200.game.entities.factories.ObstacleFactory
Factory to create obstacle entities.
Each obstacle entity type should have a creation method that returns a corresponding entity.
-
Method Details
-
createWall
Creates an invisible physics wall.- Returns:
- Wall entity of given width and height
-
spawnBorderTile
-
spawnBorderTileVertical
-
wall
-
door
-