コード例 #1
0
 //Constructor
 public ExplorerJumpRight(Explorer explorer, int h, int k)
     : base(explorer)
 {
     this.explorer = explorer;
     this.startK = k;
     this.startH = h;
     this.i = 0;
 }
コード例 #2
0
 //Constructor
 public ExplorerJumpLeft(Explorer explorer, int h, int k)
     : base(explorer)
 {
     this.explorer = explorer;
     this.startK = k;
     this.startH = h;
     this.i = 0;
     this.effect = SpriteEffects.FlipHorizontally;
 }
コード例 #3
0
 //Properties
 //Constructor
 public ExplorerWalkLeft(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
     this.effect = SpriteEffects.FlipHorizontally;
 }
コード例 #4
0
 //Constructor
 public ExplorerIdleLeft(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
     this.i = 7;
 }
コード例 #5
0
ファイル: KingsValley.cs プロジェクト: mrijneveld/KingsValley
 //LOADCONTENT METHOD
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     this.explorer = new Explorer(this, new Vector2(100f, 300f));
 }
コード例 #6
0
 //Properties
 //Constructor
 public ExplorerWalkRight(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
 }
コード例 #7
0
 //Constructor
 public AnimatedSprite(Explorer explorer)
 {
     this.explorer = explorer;
 }