bradley-mcfadden / worms

A game where you play as a sandworm fighting for survival in the modern world.
MIT License
0 stars 0 forks source link

Cache states in BasicEnemyStateLoader #1

Open bradley-mcfadden opened 2 years ago

bradley-mcfadden commented 2 years ago

States are loaded each time a state changes. It's probably better to load once and cache, then create instances from the loaded states.