You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have a couple different ways to keep track of entities. This has evolved over time, and with #321 we may now have a good reason to refactor that. For example the town hall is stored as a field on the city, and other supply buildings are stored on a separate field which is invalidated and repopulated occasionally. And treasuries? No idea.
I'll document the current approaches here in more detail, and will then come up with a unified approach.
Todo: document calls to surface.create_entity, that should be easier than reading all the code
The text was updated successfully, but these errors were encountered:
For #321
We currently have a couple different ways to keep track of entities. This has evolved over time, and with #321 we may now have a good reason to refactor that. For example the town hall is stored as a field on the city, and other supply buildings are stored on a separate field which is invalidated and repopulated occasionally. And treasuries? No idea.
I'll document the current approaches here in more detail, and will then come up with a unified approach.
Todo: document calls to surface.create_entity, that should be easier than reading all the code
The text was updated successfully, but these errors were encountered: