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