Class MazePlayer
java.lang.Object
com.csse3200.game.entities.Entity
com.csse3200.game.minigames.maze.entities.MazePlayer
MazePlayer represents the player entity in the maze mini-game.
It defines the components and behavior specific to the player.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.csse3200.game.entities.Entity
Entity.EnemyType
-
Constructor Summary
ConstructorsConstructorDescriptionMazePlayer
(MazePlayerConfig stats, MazeGameArea gameArea) Constructs a MazePlayer entity with the given player configuration stats. -
Method Summary
Methods inherited from class com.csse3200.game.entities.Entity
addComponent, create, dispose, earlyUpdate, equals, getCenterPosition, getComponent, getEnabled, getEnemies, getEnemyType, getEvents, getId, getPosition, getScale, hashCode, isEnabled, isNormalEnemy, isPlayer, scaleHeight, scaleWidth, setEnabled, setEnemies, setEnemyType, setIsNormalEnemy, setIsPlayer, setPosition, setPosition, setPosition, setScale, setScale, specialDispose, toString, update
-
Constructor Details
-
MazePlayer
Constructs a MazePlayer entity with the given player configuration stats.- Parameters:
stats
- The configuration stats for the player entity, including health and attack power.gameArea
- The maze game area the player is playing in.
-