MineInAbyss / geary

ECS framework made for Kotlin
https://docs.mineinabyss.com/geary/
MIT License
49 stars 11 forks source link

refactor: Swap to using Koin for DI, do not rely on any global context #106

Open 0ffz opened 1 week ago

0ffz commented 1 week ago

This is a fairly large refactor to allow multiple instances of geary to run at once, we call each instance a world and it can tich independently. The primary bottleneck was relying on global instances of our Geary module. This has been replaced with individual class references and an isolated Koin application when running engine setup.