Exemplo n.º 1
0
 public WalkerForm(Map map)
 {
     this.map = map;
     mapSize = map.Size;
     InitializeComponent(mapSize);
     this.mapDisplay.map = map;
     walker = new RandomWalker(map, this);
     walker.InitiateRandomWalk(new Vector(map.Size.Width / 2, map.Size.Height / 2));
 }
Exemplo n.º 2
0
 private void Reset_Click(object sender, EventArgs e)
 {
     walker = new RandomWalker(map, this);
     InitializeComponent(mapSize);
 }