System
Represent a way to iterate over entities with specific components (given by the type parameter L) and manupulate them.
Value members
Abstract methods
def update(entity: Entity, components: L)(deltaTime: DeltaTime, world: World, view: View[L]): Deletable[L]
Describes how this System updates the components (described by the type of the System) of an Entity.
Describes how this System updates the components (described by the type of the System) of an Entity.
- Value Params
- Returns
a new CList with the updated components; it could also contain a special component - Deleted - that is used to delete the corresponding component: e.g. If the expected return type is a
Position &: Velocity &: CNilone could also return
Position(1, 2) &: Deleted &: CNilfrom the given Entity.