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); }
public ClientWorld(GameSpecResponse gameSpecs) : base(int.MaxValue, gameSpecs.WorldX, gameSpecs.WorldY) { }