Currently Player resource is the actual "player" while player controllers (nodes), units (nodes), and other subsystems are just holding refs to Player. It requires a lot of manual synchronization and therefore is error-prone as well as hard to understand.
As part of this ticket, I'll simplify the situation in a following way:
player controllers (nodes) will become actual players
player controllers will have all their units attached as children
TBD: each player controller will possess data (resource) or it will incorporate it into scope of node
Currently
Player
resource is the actual "player" while player controllers (nodes), units (nodes), and other subsystems are just holding refs toPlayer
. It requires a lot of manual synchronization and therefore is error-prone as well as hard to understand.As part of this ticket, I'll simplify the situation in a following way:
players