System

abstract class System

Represents a system in the Entity-Component-System (ECS) architecture.

A System instance receives periodic update callbacks from the ECS runtime.

Subclasses of System must provide a public no-argument constructor to make internal mechanism work.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

The companion object of System.

Functions

Link copied to clipboard
open fun update(context: SceneUpdateContext)

Called periodically by the ECS runtime to update this system.