예제 #1
0
 public void Draw(SpriteBatch spriteBatch, GameTime gameTime)
 {
     animPlayer.Draw(camera.GetRelativePosition(Position), 1.0f, gameTime, direction, spriteBatch);
 }
예제 #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);
 }