Exemplo n.º 1
0
        public MapProcessor(double _x, double _y, double _wd, double _ht)
        {
            rect = new Rectangle(_x, _y, _wd, _ht);
            DrawAnyObject painter = new DrawAnyObject();

            rect.Draw(painter);
        }
Exemplo n.º 2
0
 public void PaintThemAll(DrawAnyObject painter)
 {
     foreach (var m in bonuses)
     {
         m.DrawBonus(painter);
     }
 }
Exemplo n.º 3
0
        public MapProcessor() //default
        {
            rect = new Rectangle(0, 0, 600, 600);
            DrawAnyObject painter = new DrawAnyObject();

            rect.Draw(painter);
        }