Cards
Posted: Wed Jan 29, 2020 5:38 pm
Hello,
I'm starting to implement yellow and red cards in the game. There's been a problem, though: I don't know what todo with expelled players. How should I remove them from the playfield? Removing them from lineup won't suffice (and makes the game unstable), and neither is removing them from the player list of the team nor making them invisible.
I've tried to make a new inmutable status for expelled players, but they still get selected for active player, throw ins and such.
Any advice?
Regards.
I'm starting to implement yellow and red cards in the game. There's been a problem, though: I don't know what todo with expelled players. How should I remove them from the playfield? Removing them from lineup won't suffice (and makes the game unstable), and neither is removing them from the player list of the team nor making them invisible.
I've tried to make a new inmutable status for expelled players, but they still get selected for active player, throw ins and such.
Any advice?
Regards.