Method | Description | |
---|---|---|
CheckOutOfViewport ( |
||
CollidesWith ( Sprite other ) : bool | ||
CollidesWith ( Sprite other, bool calcPerPixel ) : bool | ||
Draw ( |
||
Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : System | ||
Update ( |
Method | Description | |
---|---|---|
PerPixelCollision ( Sprite a, Sprite b ) : bool |
public CheckOutOfViewport ( |
||
viewport | ||
return | bool |
public CollidesWith ( Sprite other, bool calcPerPixel ) : bool | ||
other | Sprite | |
calcPerPixel | bool | |
return | bool |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
return | void |
public Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |
public Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
return | System |
public Update ( |
||
gameTime | ||
return | void |