thelukester92 / swift-engine

An entity-component-system game engine built in the Swift programming language.
MIT License
35 stars 7 forks source link

Investigate using component mappers instead of manual caching #68

Open thelukester92 opened 10 years ago

thelukester92 commented 10 years ago

Manual caching (using a [LGPosition], for example) requires reindexing. If entities were hashable, a component mapper could be created for each component. See Artemis engine.