Пример #1
0
 public Simulator(PictureBox p, Playground pg, Label f, Label s, Label sc)
 {
     this.drawer        = new DrawingUnit(p, pg, f, s, sc);
     this.objects       = new List <MovingObject>();
     this.pg            = pg;
     this.players       = new Dictionary <int, Player>();
     this.score         = new Point(0, 0);
     this.activePlayers = new List <Player>();
 }
Пример #2
0
 public void addDrawer(DrawingUnit d)
 {
     initialize();
     //d.drawPoints(defencePositions);
 }