System

trait System

This trait represents a system, which can update the World 's state.

Companion
object
class Object
trait Matchable
class Any
trait ExcludingSystem[LIncluded, LExcluded]

Value members

Abstract methods

def update(deltaTime: DeltaTime, world: World): Unit

This method is executed every time the World is updated.

This method is executed every time the World is updated.

Value Params
deltaTime

the delta time used to update.

world

the World in which the System is being executed.

Concrete methods

def shouldRun: Boolean
Returns

whether this System should be executed or not.