Example #1
0
 public void ReInitMap(Point size, Cam cam, Object[] objects)
 {
     this.size    = size;
     this.cam     = new Cam(cam);
     this.objects = new Object[objects.Length];
     Array.Copy(objects, this.objects, objects.Length);
     activeCircle = new ActiveCircle();
 }
Example #2
0
 public Map(ref Window window, string map_state)
 {
     size           = new Point(60000, 40000);
     cam            = new Cam(new PointF(size.X / 2, size.Y / 2));
     objects        = new Object[0];
     activeCircle   = new ActiveCircle();
     this.window    = window;
     this.map_state = map_state;
 }