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