| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Mischief.ECS.Fixed
Synopsis
- newtype FixedFrequency = FixedFrequency Float
- data FixedFirst
- data FixedPreUpdate
- data FixedUpdate
- data FixedPostUpdate
- data FixedLast
- data FixedPlugin
- data Fixed
- data FixedTime = FixedTime {}
- newtype FixedExtra = FixedExtra Float
- runFixedLoop :: System ()
Documentation
newtype FixedFrequency Source #
Resource determining the frequency at which Fixed schedules are ran. Defaults to 0.03 (30fps).
Constructors
| FixedFrequency Float |
Instances
| Default FixedFrequency Source # | |||||
Defined in Mischief.ECS.Fixed Methods def :: FixedFrequency # | |||||
| Component FixedFrequency Source # | |||||
Defined in Mischief.ECS.Fixed Associated Types
Methods required :: Set DefaultComponentType Source # onAdd :: [Hook FixedFrequency] Source # onSet :: [Hook FixedFrequency] Source # onRemove :: [Hook FixedFrequency] Source # onAddRel :: [HookRel FixedFrequency] Source # onSetRel :: [HookRel FixedFrequency] Source # | |||||
| type IsExclusiveRel FixedFrequency Source # | |||||
Defined in Mischief.ECS.Fixed | |||||
data FixedFirst Source #
Instances
| Show FixedFirst Source # | |
Defined in Mischief.ECS.Fixed Methods showsPrec :: Int -> FixedFirst -> ShowS # show :: FixedFirst -> String # showList :: [FixedFirst] -> ShowS # | |
| Schedule FixedFirst Source # | |
Defined in Mischief.ECS.Fixed | |
data FixedPreUpdate Source #
Instances
| Show FixedPreUpdate Source # | |
Defined in Mischief.ECS.Fixed Methods showsPrec :: Int -> FixedPreUpdate -> ShowS # show :: FixedPreUpdate -> String # showList :: [FixedPreUpdate] -> ShowS # | |
| Schedule FixedPreUpdate Source # | |
Defined in Mischief.ECS.Fixed | |
data FixedUpdate Source #
Instances
| Show FixedUpdate Source # | |
Defined in Mischief.ECS.Fixed Methods showsPrec :: Int -> FixedUpdate -> ShowS # show :: FixedUpdate -> String # showList :: [FixedUpdate] -> ShowS # | |
| Schedule FixedUpdate Source # | |
Defined in Mischief.ECS.Fixed | |
data FixedPostUpdate Source #
Instances
| Show FixedPostUpdate Source # | |
Defined in Mischief.ECS.Fixed Methods showsPrec :: Int -> FixedPostUpdate -> ShowS # show :: FixedPostUpdate -> String # showList :: [FixedPostUpdate] -> ShowS # | |
| Schedule FixedPostUpdate Source # | |
Defined in Mischief.ECS.Fixed | |
data FixedPlugin Source #
Plugin that enables running systems in Fixed schedules such as FixedUpdate and FixedPostUpdate.
Overwrite the FixedFrequency resource to change the frequency at which Fixed schedules are ran.
Instances
| Plugin FixedPlugin Source # | |
Defined in Mischief.ECS.Fixed | |
Constructors
| FixedTime | |
Fields | |
Instances
| Component FixedTime Source # | |||||
Defined in Mischief.ECS.Fixed Associated Types
| |||||
| ToTime FixedTime Source # | |||||
| type IsExclusiveRel FixedTime Source # | |||||
Defined in Mischief.ECS.Fixed | |||||
newtype FixedExtra Source #
Constructors
| FixedExtra Float |
Instances
| Component FixedExtra Source # | |||||
Defined in Mischief.ECS.Fixed Associated Types
Methods required :: Set DefaultComponentType Source # onAdd :: [Hook FixedExtra] Source # onSet :: [Hook FixedExtra] Source # onRemove :: [Hook FixedExtra] Source # onAddRel :: [HookRel FixedExtra] Source # onSetRel :: [HookRel FixedExtra] Source # onRemoveRel :: [HookRel FixedExtra] Source # | |||||
| type IsExclusiveRel FixedExtra Source # | |||||
Defined in Mischief.ECS.Fixed | |||||
runFixedLoop :: System () Source #