| Copyright | (C) 2020 Sophie Taylor |
|---|---|
| License | AGPL-3.0-or-later |
| Maintainer | Sophie Taylor <sophie@spacekitteh.moe> |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | Trustworthy |
| Language | GHC2021 |
Games.ECS.Prototype.PrototypeID
Description
Prototype IDs are essentially just strings.
Synopsis
- newtype PrototypeID = PrototypeID {}
- class HasPrototypeID c where
Documentation
newtype PrototypeID Source #
A prototype's ID is distinct from its entity reference in that it is stable, and in a unique namespace.
Constructors
| PrototypeID | |
Fields | |
Instances
class HasPrototypeID c where Source #
Minimal complete definition
Instances
| HasPrototypeID IsPrototype Source # | |
Defined in Games.ECS.Prototype | |
| HasPrototypeID PrototypeID Source # | |
Defined in Games.ECS.Prototype.PrototypeID | |