public void Draw(SpriteBatch spriteBatch)
 {
     if (counter < 7)
     {
         Position = new Rectangle((int)Location.X, (int)Location.Y, Width, Height);
         obj.Draw(spriteBatch, Location);
     }
 }
Example #2
0
 public void Draw(SpriteBatch spriteBatch, Vector2 pos)
 {
     Position = new Rectangle((int)currentPositionFireBall.X, (int)currentPositionFireBall.Y, Width, Height);
     if (this.IsVisible)
     {
         obj.Draw(spriteBatch, currentPositionFireBall);
     }
 }
 public void Draw(SpriteBatch spriteBatch, Vector2 pos)
 {
     character.Draw(spriteBatch, pos);
 }
Example #4
0
 public void Draw(SpriteBatch spriteBatch)
 {
     locale.Y = Location.Y + obj.Height;
     locale.X = Location.X;
     obj.Draw(spriteBatch, locale);
 }
Example #5
0
 public void Draw(SpriteBatch spriteBatch)
 {
     obj.Draw(spriteBatch, Location);
 }