Timeline for How does one resolve low level types dependent on high level types?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 26, 2018 at 14:29 | comment | added | Deduplicator | No, all the entities, meaning all their components, are saved in the gamestate. But that gamestate should not save which one to act on just now. | |
| May 26, 2018 at 14:27 | comment | added | Jansky |
Thanks for the reply. >You should not save the Entity to act on in the GameState either, as it changes depending on the active method, and that's what method-parameters are for. To check that I parsed this correctly: Are you suggesting that the Piece shouldn't belong to the Board, and instead should be stored separately and made aware of it's own position?
|
|
| May 26, 2018 at 14:18 | history | answered | Deduplicator | CC BY-SA 4.0 |