removeFromPlayer method
Removes entity
from the player it is associated with.
Implementation
void removeFromPlayer(int entity) {
final player = _playerByEntity[entity];
if (player != null) {
_entitiesByPlayer[player]?.remove(entity);
}
}