Exemplo n.º 1
0
 public World()
 {
     _car 		= new Car(new Vector2(0, 164));
     _rock       = new Rock(new Vector2(610, 160));
     _background = Game1.instance.Content.Load<Texture2D>("cliff");
     _spVerdana  = Game1.instance.Content.Load<SpriteFont>("Verdana");
 }
Exemplo n.º 2
0
 public World()
 {
     _car        = new Car(new Vector2(0, 172), 0.3f, Color.PaleGreen);
     _counter    = new Counter();
     _rock       = new Rock(new Vector2(626, 178));
     _background = Game1.instance.Content.Load<Texture2D>("cliff");
     _spVerdana  = Game1.instance.Content.Load<SpriteFont>("Verdana");
 }