Copyright | (c) Matt Hunzinger 2025 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | matt@hunzinger.me |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Aztecs.ECS.World.Bundle.Dynamic
Description
Synopsis
- newtype DynamicBundle = DynamicBundle {
- runDynamicBundle :: EntityID -> Archetype -> Archetype
- dynBundle :: Component a => ComponentID -> a -> DynamicBundle
Documentation
newtype DynamicBundle Source #
Dynamic bundle of components.
Since: 0.9
Constructors
DynamicBundle | |
Fields
|
Instances
Monoid DynamicBundle Source # | Since: 0.9 |
Defined in Aztecs.ECS.World.Bundle.Dynamic Methods mempty :: DynamicBundle # mappend :: DynamicBundle -> DynamicBundle -> DynamicBundle # mconcat :: [DynamicBundle] -> DynamicBundle # | |
Semigroup DynamicBundle Source # | Since: 0.9 |
Defined in Aztecs.ECS.World.Bundle.Dynamic Methods (<>) :: DynamicBundle -> DynamicBundle -> DynamicBundle # sconcat :: NonEmpty DynamicBundle -> DynamicBundle # stimes :: Integral b => b -> DynamicBundle -> DynamicBundle # |
dynBundle :: Component a => ComponentID -> a -> DynamicBundle Source #
Since: 0.11