public RectangleLayout(ILayouter layouter, ILayoutDrawer drawer, IImageOptions imageOptions, IFontOptions fontOptions) { this.layouter = layouter; this.drawer = drawer; this.imageOptions = imageOptions; this.fontOptions = fontOptions; bitmap = new Bitmap(imageOptions.Width, imageOptions.Height); graphics = Graphics.FromImage(bitmap); }
public Level1(IFoodDrawer foodDrawer, ILayoutDrawer layoutDrawer, IGameOver gameOver) : base(foodDrawer, layoutDrawer, gameOver) { }
public LevelBase(IFoodDrawer foodDrawer, ILayoutDrawer layoutDrawer, IGameOver gameOver) { _foodDrawer = foodDrawer; _layoutDrawer = layoutDrawer; _gameOver = gameOver; }