Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (KingsValley1 game = new KingsValley1())
     {
         game.Run();
     }
 }
Exemple #2
0
 public Explorer(KingsValley1 game, Vector2 position)
 {
     this.game = game;
     this.position = position;
     this.texture = game.Content.Load<Texture2D>(@"Explorer\man");
     this.rectangle = new Rectangle((int)this.position.X,(int)this.position.Y, this.texture.Width / 8, this.texture.Height);
     this.state = new ExplorerWalkRight(this);
 }