Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public Level1(IFoodDrawer foodDrawer, ILayoutDrawer layoutDrawer, IGameOver gameOver) : base(foodDrawer, layoutDrawer, gameOver)
 {
 }
Esempio n. 3
0
 public LevelBase(IFoodDrawer foodDrawer, ILayoutDrawer layoutDrawer, IGameOver gameOver)
 {
     _foodDrawer   = foodDrawer;
     _layoutDrawer = layoutDrawer;
     _gameOver     = gameOver;
 }