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