Package com.csse3200.game.components
Class ItemHoldComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.ItemHoldComponent
A component that makes an item follow the player at a given offset.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
update()
Updates the item's position so it follows the playerMethods inherited from class com.csse3200.game.components.Component
create, dispose, earlyUpdate, getEntity, getPrio, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate