public Map(int width, int height) { Width = width; Height = height; MapGenerator.GenerateMap(this); Broker = new Broker(this); _updateThread = new Thread(Activate); _updateThread.Start(); }
public Map() { Width = 1100; Height = 650; // default MapGenerator.GenerateMap(this); Broker = new Broker(this); _updateThread = new Thread(Activate); _updateThread.Start(); }