public MapProcessor(double _x, double _y, double _wd, double _ht) { rect = new Rectangle(_x, _y, _wd, _ht); DrawAnyObject painter = new DrawAnyObject(); rect.Draw(painter); }
public void PaintThemAll(DrawAnyObject painter) { foreach (var m in bonuses) { m.DrawBonus(painter); } }
public MapProcessor() //default { rect = new Rectangle(0, 0, 600, 600); DrawAnyObject painter = new DrawAnyObject(); rect.Draw(painter); }