示例#1
0
        private void handleSpectateCameraMove(BinaryReader data)
        {
            float x     = data.ReadSingle();
            float y     = data.ReadSingle();
            float ratio = data.ReadSingle();

            _world.SetView(x, y, ratio);
        }
示例#2
0
文件: Session.cs 项目: jerk/Agar.net
        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);
        }