/// <summary>
 /// Initializes a new instance of the <see cref="StandartGameFifteenEngine"/> class.
 /// </summary>
 /// <param name="renderer">Object to print.</param>
 /// <param name="userInterface">Interacting with user.</param>
 /// <param name="gameInitializer">Initializing the game.</param>
 /// <param name="player">The player.</param>
 /// <param name="grid">Grid with tiles.</param>
 public StandartGameFifteenEngine(IRenderer renderer, IUserInterface userInterface, IGameInitializater gameInitializer, IPlayer player, IGrid grid)
     : base(gameInitializer)
 {
     this.renderer = renderer;
     this.userInterface = userInterface;
     this.player = player;
     this.scoreBoard = Scoreboard.Instance;
     this.grid = grid;
     this.gridMemory = new GridMemory();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Engine" /> class.
 /// </summary>
 /// <param name="gameInitializer">Game initializer.</param>
 protected Engine(IGameInitializater gameInitializer)
 {
     this.GameInitializer = gameInitializer;
 }