Class LevelConfig
java.lang.Object
com.csse3200.game.entities.configs.LevelConfig
Configuration container for defining level properties and entities.
This class is populated from a JSON or configuration file to describe the structure of a game level, including its name, map size, player spawn point, minimap, walls, and entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration for an individual entity in a level.static classWall configuration data for a level. -
Field Summary
FieldsModifier and TypeFieldDescriptionint[]int[] -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
mapSize
public int[] mapSize -
playerSpawn
public int[] playerSpawn -
miniMap
-
music
-
walls
-
entities
-
-
Constructor Details
-
LevelConfig
public LevelConfig()
-