예제 #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     currentState.Draw(spriteBatch, xPos, yPos);
 }
예제 #2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     currentState.Draw(spriteBatch, xPos, yPos);
     hitbox = new Rectangle((int)xPos, (int)yPos, hitboxX, hitboxY);
 }