Safe Haskell | None |
---|---|
Language | Haskell2010 |
General content types and operations.
- data Id c
- type family Speedup a
- data Ops a = Ops {
- okind :: Id a -> a
- ouniqGroup :: GroupName a -> Id a
- opick :: GroupName a -> (a -> Bool) -> Rnd (Maybe (Id a))
- ofoldrWithKey :: forall b. (Id a -> a -> b -> b) -> b -> b
- ofoldrGroup :: forall b. GroupName a -> (Int -> Id a -> a -> b -> b) -> b -> b
- obounds :: !(Id a, Id a)
- ospeedup :: !(Maybe (Speedup a))
- data COps = COps {}
- createOps :: forall a. Show a => ContentDef a -> Ops a
- stdRuleset :: Ops RuleKind -> RuleKind
Documentation
Content identifiers for the content type c
.
Type family for auxiliary data structures for speeding up content operations.
type Speedup TileKind = TileSpeedup |
Content operations for the content of type a
.
Ops | |
|
Operations for all content types, gathered together.
createOps :: forall a. Show a => ContentDef a -> Ops a Source
Create content operations for type a
from definition of content
of type a
.
stdRuleset :: Ops RuleKind -> RuleKind Source
The standard ruleset used for level operations.