| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Mischief.ECS.EntityDef
Synopsis
Documentation
UNLIFTED
Points to an unique entity. The first Word# is an id, the second is a generation.
It is guaranteed that there can't be two alive entities with the same id.
Instances
| Show Entity Source # | |
| Eq Entity Source # | |
| Ord Entity Source # | |
| Queryable E Entity Source # | |
| ListToOutgoing (Maybe Entity) Source # | |
Defined in Mischief.ECS.Relationships.Graph | |
| ListToOutgoing [Entity] Source # | |
Defined in Mischief.ECS.Relationships.Graph Methods listToOutgoing :: [Entity] -> [Entity] Source # | |
| Component c => ToFilterComponent (R c Entity) Source # | |
Defined in Mischief.ECS.World.Query.QueryFilter Methods toFilterComponent :: R c Entity -> FilterComponent Source # | |
| Component c => Queryable (HasR c Entity) Bool Source # | |
| Component c => Queryable (MR c Entity) (Maybe (Rel c)) Source # | |
Defined in Mischief.ECS.World.Query.Queryable | |
| Component c => Queryable (R c Entity) (Rel c) Source # | |
liftEntity :: Entity# -> Entity Source #
unliftEntity :: Entity -> Entity# Source #
nullEntity :: Entity Source #