public MagicSprite ( |
||
sb | The SpriteBatch used to draw the sprite. | |
sprite | Microsoft.Xna.Framework.Graphics.Texture2D | The sprite texture. |
relPosition | Vector2 | The relative position. |
relWidth | float | The relative width. |
relHeight | float | The relative height. |
Xpan | float | The pan in X-direction. |
Ypan | float | The pan in Y-direction. |
return | System |