示例#1
0
 public State( Game game, ChickenRace owner )
     : base(game)
 {
     this.owner = owner;
 }
示例#2
0
 public PrepareState( Game game, ChickenRace owner )
     : base(game, owner)
 {
 }
示例#3
0
 public GameOverState( Game game, ChickenRace owner, int score, float speed )
     : base(game, owner)
 {
     result = new ScoreData { Score = score, Speed = speed, Time = DateTime.Now };
 }
示例#4
0
 public PlayingState( Game game, ChickenRace owner )
     : base(game, owner)
 {
 }
示例#5
0
 protected override void Initialize()
 {
     race = new ChickenRace( this );
     Components.Add( race );
     base.Initialize();
 }