Class Player
java.lang.Object
com.toxicrain.rainengine.artifacts.RenderableArtifact
com.toxicrain.rainengine.artifacts.Player
- All Implemented Interfaces:
IArtifact
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
attack()
void
equipWeapon
(Weapon weapon) boolean
isWeaponEquipped
(Weapon weapon) void
render
(BatchRenderer batchRenderer) void
update
(double deltaTime)
-
Field Details
-
scrollOffset
public float scrollOffset
-
-
Constructor Details
-
Player
-
-
Method Details
-
addWeapon
-
equipWeapon
-
isWeaponEquipped
-
attack
public void attack() -
update
public void update(double deltaTime) -
render
- Overrides:
render
in classRenderableArtifact
-