Class MazeEntity
java.lang.Object
com.csse3200.game.entities.Entity
com.csse3200.game.minigames.maze.entities.mazenpc.MazeEntity
- Direct Known Subclasses:
AnglerFish
,ElectricEel
,GreenJellyfish
,Jellyfish
,Octopus
,Turtle
MazeEntity is an abstract base class for all non-playable character (NPC) entities
in the maze minigame. It provides common components and functionality for maze NPCs.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.csse3200.game.entities.Entity
Entity.EnemyType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a MazeEntity with common components for physics, movement, collision, and attack interactions. -
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
-
MazeEntity
protected MazeEntity()Constructs a MazeEntity with common components for physics, movement, collision, and attack interactions. This constructor sets up the basic entity configuration.
-