Example #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);
        }
Example #2
0
 public void PaintThemAll(DrawAnyObject painter)
 {
     foreach (var m in bonuses)
     {
         m.DrawBonus(painter);
     }
 }
Example #3
0
        public MapProcessor() //default
        {
            rect = new Rectangle(0, 0, 600, 600);
            DrawAnyObject painter = new DrawAnyObject();

            rect.Draw(painter);
        }