Class RenderableArtifact

java.lang.Object
com.toxicrain.rainengine.artifacts.RenderableArtifact
Direct Known Subclasses:
BaseNPC, Player, Projectile

public abstract class RenderableArtifact extends Object
A base class for all artifacts that can be rendered in the world.

Handles texture binding, positioning, rotation, and basic rendering logic. Artifacts that extend this class automatically gain simple rendering capabilities and world positioning.

  • Constructor Details

    • RenderableArtifact

      public RenderableArtifact(Resource textureResource, float x, float y, float rotation, float size)
  • Method Details