Exemplo n.º 1
0
        private void handleSpectateCameraMove(BinaryReader data)
        {
            float x     = data.ReadSingle();
            float y     = data.ReadSingle();
            float ratio = data.ReadSingle();

            _world.SetView(x, y, ratio);
        }
Exemplo n.º 2
0
        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);
        }