Zigurous.DataStructures
Classes
ArrayExtensions
Extension methods for arrays.
ComparableExtensions
Extension methods for IComparable.
DictionaryExtensions
Extension methods for dictionaries.
DoubleAccumulator
Accumulates double values into a single total value.
FixedUpdateStrategy
An update strategy executed during the fixed update loop.
FloatAccumulator
Accumulates float values into a single total value.
HashCode
Combines multiple hash codes into a single value.
HashSetExtensions
Extension methods for hash sets.
Identifier
Generates identifiers.
IntAccumulator
Accumulates int values into a single total value.
LateUpdateStrategy
An update strategy executed during the late update loop.
ListExtensions
Extension methods for lists.
Modules<T>
Manages a list of registered entity modules.
NormalUpdateStrategy
An update strategy executed during the normal update loop.
ObjectPool<T>
Reuses objects from a shared pool to prevent instantiating new objects. The object pool can have a set capacity or it can grow in size. Optionally, objects that are currently active can be reused when the pool has reached capacity.
QuaternionAccumulator
Accumulates Quaternion values into a single total value.
SingletonBehavior<T>
A singleton behavior that can be used to ensure that only one instance of a class is created.
SortedSetExtensions
Extension methods for sorted sets.
StringExtensions
Extension methods for strings.
UpdateBehavior
A behavior that can run in any update mode.
UpdateStrategy
An update strategy that executes an update action.
ValueAccumulator<T>
Accumulates a set of stored values into a single total value.
Vector2Accumulator
Accumulates Vector2 values into a single total value.
Vector2IntAccumulator
Accumulates Vector2Int values into a single total value.
Vector3Accumulator
Accumulates Vector3 values into a single total value.
Vector3IntAccumulator
Accumulates Vector3Int values into a single total value.
Vector4Accumulator
Accumulates Vector4 values into a single total value.
Structs
Bitmask
A bitmask representation that can be used for bitwise operations. A bitmask is a set of bits that can be set or cleared.
Bool3
Stores a tuple of 3 booleans.
ClampedRange
A range of values clamped between a lower and upper bound.
ColorRange
A range of Color values.
EulerRange
A range of euler values wrapped between -360 and +360.
FloatRange
A range of float values.
GridSize
Stores the size of a grid as rows and columns.
IntRange
A range of int values.
Quantity<T>
Stores a quantity of a given entity type.
Range<T>
A range of values of the given type.
Size
Stores the size of an entity as a width and height.
UIntRange
A range of uint values.
UnitIntervalRange
A range of values between zero and one.
Vector2Range
A range of Vector2 values.
Vector3Range
A range of Vector3 values.
Vector4Range
A range of Vector4 values.
Interfaces
IModular<T>
A type that can register and unregister modules.
INumberRange<T>
A generic interface for a range of number values.
IObjectPool<T>
A type that can retrieve and recycle objects from a shared pool.
IRange<T>
A generic interface for a range of values.
Enums
UpdateMode
An update mode a behavior can run with.
Delegates
ArrayExtensions.Reducer<TSum, TElement>
A function delegate that reduces an array into a single value.
ListExtensions.Reducer<TSum, TItem>
A function delegate that reduces a list into a single value.
ObjectPool<T>.Generator
A function delegate that creates a new instance of
T
.UpdateStrategy.UpdateAction
A function delegate to execute an update action.