Exemplo n.º 1
0
        private Pacman[] GetLastGenerationPacmans()
        {
            var lastGeneration = _sqLiteConnection.GetLastGeneration();
            var last           = _sqLiteConnection.GetOneGenerationPacmans(lastGeneration).ToArray();

            return(last);
        }
Exemplo n.º 2
0
 public BeforeGameStartRun(ISqLiteConnection sqlLiteConnection, IReportGenerate reportGenerate)
 {
     _sqlLiteConnection    = sqlLiteConnection;
     _reportGenerate       = reportGenerate;
     _pacmanLastGeneration = _sqlLiteConnection.GetLastGeneration();
 }