ExtensionMethods
trait ExtensionMethods
Extensions
Extensions
extension (entity: Entity)
This method enables the following syntax:
This method enables the following syntax:
entity + Component()
This method enables the following syntax:
This method enables the following syntax:
entity - Component()
This method enables the following syntax:
This method enables the following syntax:
entity withComponent Component()
extension (world: World)
This method enables the following syntax:
This method enables the following syntax:
world hasA system[Component &: CNil]{ () => {} }