TrajectorySequenceEntity

class TrajectorySequenceEntity(val meepMeep: MeepMeep, val trajectorySequence: TrajectorySequence, colorScheme: ColorScheme) : ThemedEntity

Constructors

Link copied to clipboard
constructor(meepMeep: MeepMeep, trajectorySequence: TrajectorySequence, colorScheme: ColorScheme)

Types

Link copied to clipboard
object Companion

Static values for the trajectory sequence entity.

Properties

Link copied to clipboard

List to store marker indicator entities

Link copied to clipboard
open override val meepMeep: MeepMeep

The MeepMeep instance associated with the entity.

Link copied to clipboard
open override val tag: String

Tag for the trajectory sequence entity.

Link copied to clipboard

Value representing the progress of the trajectory.

Link copied to clipboard
open override var zIndex: Int

Z-index for rendering order.

Functions

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

Renders the trajectory sequence entity on the given graphics context.

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

Sets the dimensions of the canvas and redraws the path if the dimensions have changed.

Link copied to clipboard
open override fun switchScheme(scheme: ColorScheme)

Switches the color scheme of the trajectory sequence entity.

Link copied to clipboard
open override fun update(deltaTime: Long)

Updates the current segment of the trajectory sequence based on the progress.