abstract class Entitas::Controller

Defined in:

entitas/controller.cr

Instance Method Summary

Instance Method Detail

def contexts : Contexts #

[View source]
abstract def create_systems(contexts : Contexts) #

[View source]
def find_system(klass : Class) #

[View source]
def find_systems(klass : Class) : Array(Entitas::System) #

[View source]
def reset #

[View source]
def start #

[View source]
def stats #

[View source]
def synchronize(*args, **options) #

[View source]
def synchronize(*args, **options, &) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def update #

[View source]
def with_contexts(&) #

Will allow you to interact with the returned Contexts with a Mutex lock preventing #update from being called in another thread


[View source]