Exemple #1
0
 public bool setGameGenerator(GameGenerator generator)
 {
     m_gameGenerator = generator;
     if (m_gameGenerator == generator)
         return true;
     else
         return false;
 }
Exemple #2
0
 static void Main(string[] args)
 {
     GameEngine game = new GameEngine();
     GameGenerator generator = new GameGenerator();
     SoundAnalyzer analyzer = new SoundAnalyzer();
     game.setGameGenerator(generator);
     game.setSoundAnalyzer(analyzer);
     game.Run();
 }