public GameOverView(IRenderProxy render, IGamePlayfieldView playfieldView) { this.render = render; this.playfieldView = playfieldView; GameOverMessage = PrepareGameOverMessage(); }
public StartPlayView(IRenderProxy render, IGamePlayfieldView playfieldView) { this.render = render; this.playfieldView = playfieldView; PressButtonToPlayMessage = PreparePressButtonToPlayMessage(); }
public StopPlayView(IRenderProxy render, IGamePlayfieldView playfieldView) { this.render = render; this.playfieldView = playfieldView; StopPlayMessage = PrepareStopPlayMessage(); }
public GameBeginView(IRenderProxy render, IGamePlayfieldView playfieldView, IMenuView menuView) { this.render = render; this.menuView = menuView; this.playfieldView = playfieldView; TitleMessage = render.PrepareTextLine(model.GetTitle(), 0); }
public GamePlayfieldView( IRenderProxy render, ICollection <IBrick> bricks, IBorderManager borderManager ) { this.render = render; this.bricks = bricks; this.borderManager = borderManager; }
public GamePlayView(IRenderProxy render, IGamePlayfieldView playfieldView, IInfoPanelView infoView, IPadManager padManager, IBallManager ballManager, ITailManager tailManager ) { this.render = render; this.playfieldView = playfieldView; this.infoView = infoView; this.padManager = padManager; this.ballManager = ballManager; this.tailManager = tailManager; }
/// <summary> /// Initializes a new instance of the <see cref="UnmanagedBitmapRenderer" /> class. /// </summary> /// <param name="threadManager">The thread manager.</param> /// <param name="dispatcher">The dispatcher.</param> /// <param name="pixelWidth">Width of the pixel.</param> /// <param name="pixelHeight">Height of the pixel.</param> public UnmanagedBitmapRenderer(IThreadManager threadManager, IDispatcher dispatcher, int pixelWidth, int pixelHeight) : base(threadManager) { threadManager.Guard("threadManager"); dispatcher.Guard("dispatcher"); this.dispatcher = dispatcher; if (0 >= pixelWidth) { pixelWidth = 1; } if (0 >= pixelHeight) { pixelHeight = 1; } proxy = new RenderProxy(pixelHeight, pixelWidth, pixelWidth * 4); }
public InfoPanelView(IRenderProxy render, IGameEngine game) { this.game = game; this.render = render; }