Class MazeObstacleFactory
java.lang.Object
com.csse3200.game.minigames.maze.entities.factories.MazeObstacleFactory
Factory to create obstacle entities.
Each obstacle entity type should have a creation method that returns a corresponding entity.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createMazeWall
(float width, float height) Creates a visible physics wall for the maze.
-
Method Details
-
createMazeWall
Creates a visible physics wall for the maze.- Parameters:
width
- Wall width in world unitsheight
- Wall height in world units- Returns:
- Wall entity of given width and height
-