//Constructor
 public ExplorerJumpRight(Explorer explorer, int h, int k)
     : base(explorer)
 {
     this.explorer = explorer;
     this.startK = k;
     this.startH = h;
     this.i = 0;
 }
Esempio n. 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;
 }
Esempio n. 3
0
 //Properties
 //Constructor
 public ExplorerWalkLeft(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
     this.effect = SpriteEffects.FlipHorizontally;
 }
Esempio n. 4
0
 //Constructor
 public ExplorerIdleLeft(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
     this.i = 7;
 }
Esempio n. 5
0
 //LOADCONTENT METHOD
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     this.explorer = new Explorer(this, new Vector2(100f, 300f));
 }
 //Properties
 //Constructor
 public ExplorerWalkRight(Explorer explorer)
     : base(explorer)
 {
     this.explorer = explorer;
 }
Esempio n. 7
0
 //Constructor
 public AnimatedSprite(Explorer explorer)
 {
     this.explorer = explorer;
 }