ExcludingSystem
trait ExcludingSystem[LIncluded <: CList, LExcluded <: CList](using cltIncl: CListTag[LIncluded], cltExcl: CListTag[LExcluded]) extends System[LIncluded]
Represent a way to iterate over entities with specific components (given by the type parameter LIncluded) and without specific components (given by the type parameter LExcluded) and manipulate them.
Value members
Concrete methods
Inherited methods
def update(entity: Entity, components: LIncluded)(deltaTime: DeltaTime, world: World, view: View[LIncluded]): Deletable[LIncluded]
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.
- Inherited from
- System