Esempio n. 1
0
 public void Draw(SpriteBatch spriteBatch, GameTime gameTime)
 {
     animPlayer.Draw(camera.GetRelativePosition(Position), 1.0f, gameTime, direction, spriteBatch);
 }
Esempio n. 2
0
 public void Draw(SpriteBatch spriteBatch, GameTime gameTime)
 {
     animPlayer.Draw(camera.GetRelativePosition(Position - new Vector2(0, 50)),
                     1.0f, gameTime, direction, spriteBatch);
     //spriteBatch.Draw(image, camera.GetRelativePosition(Position), Color.White);
 }