private void handleSpectateCameraMove(BinaryReader data) { float x = data.ReadSingle(); float y = data.ReadSingle(); float ratio = data.ReadSingle(); _world.SetView(x, y, ratio); }
private void UpdateSpectateView(DataReader reader) { float x = reader.Read <float>(); float y = reader.Read <float>(); float s = reader.Read <float>(); _world.SetView(x, y, s); }