Esempio n. 1
0
 public GameEngine(GameEngineComponent component)
 {
     this.component = component;
     Scene          = new GameScene(this);
 }
Esempio n. 2
0
 public HurdleManager(GameScene scene)
 {
     this.scene           = scene;
     hurdleTimer.Elapsed += HurdleTimerTick;
     Start();
 }
Esempio n. 3
0
 public void Restart()
 {
     Stop();
     Scene = new GameScene(this);
     Start();
 }