コード例 #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();
 }