Interface IArtifact
- All Known Implementing Classes:
BaseNPC
,NPC
,Player
,Projectile
public interface IArtifact
Interface representing an "artifact" in RainEngine.
This provides methods for updating and rendering artifacts.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic void
render
(BatchRenderer batchRenderer) Renders the artifact using the provided batch renderer.static void
update()
Updates the state of the artifact.
-
Method Details
-
update
static void update()Updates the state of the artifact. This method is intended to be overridden by implementing classes. -
render
Renders the artifact using the provided batch renderer. This method is intended to be overridden by implementing classes.- Parameters:
batchRenderer
- The renderer used to draw the artifact.
-