Moduleapecs-0.10.1Haskell2010
Apecs.TH.Tags
Synopsis
- value makeTaggedComponents
- value makeComponentTags
- value makeComponentSum
- value makeTagLookup
- value makeTagFromSum
- value makeGetTags
- value makeCountComponents
- value makeHasTagsInstance
- Packageapecs-0.10.1
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTags.hs
Creates an Enum of component tags
Creates a sum type of components
For each component type, get store and use explExists on the given entity
For each component type with ExplMembers, count the number of entities that have that component.
Generates a standalone type instance WTag World = WorldTag and a
HasTags World m instance delegating entityTags to the generated
getWorldTags function.