| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Fresco.Component
Description
Components of the Entity Component System of Fresco binding
- data ComponentType a = ComponentType Word64
- type Component = ByteString
- class ComponentClass a where
Documentation
data ComponentType a Source
Components in Entities are indexed by ComponentType
Constructors
| ComponentType Word64 |
Instances
| Eq (ComponentType a) Source | |
| Ord (ComponentType a) Source | |
| Show (ComponentType a) Source | |
| ComponentClass (ComponentType a) Source |
type Component = ByteString Source
Components are stored as ByteString
class ComponentClass a where Source
ComponentClass is the typeclass of data types, which can be components
Instances