BibliothecaDAO / eternum

onchain eternal game
https://alpha-eternum.realms.world
MIT License
36 stars 30 forks source link

[client] Use production everywhere #1080

Open edisontim opened 5 days ago

edisontim commented 5 days ago

If we rename production manager to ResourceManager, we use a principle of Clean Code (one interface for all things similar) to only use this interface for all places where we use resources The production manager doesn't cause any re-renders in case the resource isn't being produced