public void Draw(GameTime gametime, SpriteBatch g) { if (AnimationPlayer.Animation != null) { if (flip == SpriteEffects.None) { Ap2.Draw(gametime, g, new Vector2(Position.X - 60, Position.Y - 5), SpriteEffects.None); } else { Ap2.Draw(gametime, g, new Vector2(Position.X + 60, Position.Y - 5), SpriteEffects.FlipHorizontally); } } AnimationPlayer.Draw(gametime, g, Position, flip, Rotation); // g.Draw(RessourceSonic3.Test, RecPerso, Color.White); }
public void Draw(GameTime gametime, SpriteBatch g) { AnimationPlayer.Draw(gametime, g, Position, flip); foreach (Bullets bullet in bullets) { bullet.Draw(g); } //g.Draw(Ressources.Test, RecPerso, Color.White); }
public void Draw(SpriteBatch g, GameTime gametime) { AnimationPlayer.Draw(gametime, g, Position, flip); // g.Draw(Ressources.Test, Rectangle, Color.Blue); }
public void Draw(GameTime aGameTime, SpriteBatch g) { m_Animationplayer.Draw(aGameTime, g, m_Position, m_SpriteEffect); }