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 Methods
    Modifier and Type
    Method
    Description
    static void
    render(BatchRenderer batchRenderer)
    Renders the artifact using the provided batch renderer.
    static void
    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

      static void render(BatchRenderer batchRenderer)
      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.