Class MazePlayerFactory
java.lang.Object
com.csse3200.game.minigames.maze.entities.factories.MazePlayerFactory
Factory to create a player entity.
Predefined player properties are loaded from a config stored as a json file and should have the properties stores in 'PlayerConfig'.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MazePlayer
createPlayer
(MazeGameArea gameArea) Creates the player NPC
-
Method Details
-
createPlayer
Creates the player NPC- Returns:
- the player NPC
-