Package com.csse3200.game.components.npc
Class ShipEaterScareComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.ShipEaterScareComponent
- All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InteractionDetector
Entity's interaction detectorprotected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Called when the entity is created and registered.Methods inherited from class com.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, read, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update, write
-
Field Details
-
interactionDetector
Entity's interaction detector -
isHiding
protected boolean isHiding
-
-
Constructor Details
-
ShipEaterScareComponent
public ShipEaterScareComponent()
-
-
Method Details