ThemedEntity

interface ThemedEntity : Entity

Interface representing an entity that can switch between different color schemes.

Inheritors

Properties

Link copied to clipboard
abstract val meepMeep: MeepMeep

The MeepMeep instance associated with the entity.

Link copied to clipboard
abstract val tag: String

The tag associated with the entity.

Link copied to clipboard
abstract var zIndex: Int

The Z-index of the entity, used for rendering order

Functions

Link copied to clipboard
abstract fun render(gfx: Graphics2D, canvasWidth: Int, canvasHeight: Int)

Renders the entity on the given graphics context.

Link copied to clipboard
abstract fun setCanvasDimensions(canvasWidth: Double, canvasHeight: Double)

Sets the canvas dimensions.

Link copied to clipboard
abstract fun switchScheme(scheme: ColorScheme)

Switches the color scheme of the entity.

Link copied to clipboard
abstract fun update(deltaTime: Long)

Updates the entity.