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