private void _authoritySim_ClientSimConnected(RemoteSim obj) { simsJoined++; if (simsJoined == 2) { _authorityPlayer = new PlayerEntity(this); _authoritySim.NewEntity(_authorityPlayer, _controllerSim.Id, 50); } }
public RemoteEntity(Guid id, EntityRole role, RemoteSim sim) { Id = id; Role = role; _sim = sim; }