|
|
|
|
|
by rappatic
13 days ago
|
|
I imagine we can do better than a flat array to represent the permanents on the battlefield. Lots of cards filter permanents by type, mana cost, etc. Building a consideration for this into the data structure is a natural idea. |
|
I’ve tested using an ECS just for handling the core of the objects, but that lead nowhere event though it seemed a good fit from some perspectives.
I’m not surprised that an array is actually efficient after trying so many implementations.