benreid24 / BLIB

Small organized collection of common code I have accumulated over the years that has amassed into a proper 2d game engine
1 stars 0 forks source link

Implement entity relationships in ECS #180

Closed benreid24 closed 11 months ago

benreid24 commented 11 months ago

Resolves #173

Adds the following relationship types in ECS:

Introduces the IndexMappedList container which uses 0-based indices as keys into a linked list of payloads that are stored in one contiguous region in memory.