aztecs-0.16.0: A modular game engine and Entity-Component-System (ECS) for Haskell.
Copyright(c) Matt Hunzinger 2025
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainermatt@hunzinger.me
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Aztecs.ECS.World.Storage.Dynamic

Description

 
Synopsis

Documentation

data DynamicStorage Source #

Dynamic storage of components.

Constructors

DynamicStorage 

Fields

Instances

Instances details
Show DynamicStorage Source # 
Instance details

Defined in Aztecs.ECS.World.Storage.Dynamic

dynStorage :: Storage a s => s -> DynamicStorage Source #

Create a dynamic storage from a storage.

singletonDyn :: Dynamic -> DynamicStorage -> DynamicStorage Source #

Singleton dynamic storage.

fromAscVectorDyn :: Vector Dynamic -> DynamicStorage -> DynamicStorage Source #

Convert from an ascending vector.

toAscVectorDyn :: DynamicStorage -> Vector Dynamic Source #

Convert this storage to an ascending vector.