Example #1
0
        public void ReceiveSpecs(GameSpecResponse ev)
        {
            if (_game != null)
            {
                throw new System.Exception("Received to register specs twice");
            }
            var world = new ClientWorld(ev);

            _game = new ClientStrategyGame(ev.Spec, world);
        }
Example #2
0
 public ClientWorld(GameSpecResponse gameSpecs) : base(int.MaxValue, gameSpecs.WorldX, gameSpecs.WorldY)
 {
 }