Свойство | Type | Description | |
---|---|---|---|
position | Vector2 | ||
sourceRectangle | |||
speed | float | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
velocity | Vector2 |
Méthode | Description | |
---|---|---|
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
Draw ( |
||
Update ( |
public BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | ||
Résultat | System |
public BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | ||
position | Vector2 | |
Résultat | System |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Résultat | void |
public Update ( |
||
gameTime | ||
Résultat | void |
protected Rectangle,Microsoft.Xna.Framework sourceRectangle | ||
Résultat |
protected Texture2D,Microsoft.Xna.Framework.Graphics texture | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |