Свойство | Тип | Описание | |
---|---|---|---|
_boundingBox | Microsoft.Xna.Framework.BoundingBox | ||
_color | Color | ||
_depth | float | ||
_imageOrigin | Vector2 | ||
_position | Vector2 | ||
_rotation | float | ||
_scale | float | ||
_texFileLoc | string | ||
_texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
_textureFileName | string | ||
_transformedPoints | Vector3[] |
Метод | Описание | |
---|---|---|
Draw ( |
||
Unit ( ) : System |
This defaulted constructor is for debugging/testing purposes only. It is required in a regular game to use a parameterized constructor instead.
|
|
Unit ( Vector2 startingPosition, Color color, float rotation ) : System | ||
Unit ( Vector2 startingPosition, Color color, float rotation, Vector2 imageOrigin ) : System | ||
Update ( |
||
onAnimEnd ( ) : void | ||
onAnimStart ( ) : void | ||
onDraw ( |
||
onMapEnd ( ) : void | ||
onMapStart ( ) : void | ||
onUpdate ( |
Метод | Описание | |
---|---|---|
CalculateBoundingBox ( ) : void |
Метод | Описание | |
---|---|---|
CheckDrawEvents ( |
||
CheckUpdateEvents ( |
||
HandleTextureFileLocationError ( bool throwException ) : void | ||
Initialize ( ) : void | ||
LoadContent ( ) : void | ||
Unit ( |
public Draw ( |
||
spriteBatch | ||
Результат | void |
public Unit ( Vector2 startingPosition, Color color, float rotation ) : System | ||
startingPosition | Vector2 | |
color | Color | |
rotation | float | |
Результат | System |
public Unit ( Vector2 startingPosition, Color color, float rotation, Vector2 imageOrigin ) : System | ||
startingPosition | Vector2 | |
color | Color | |
rotation | float | |
imageOrigin | Vector2 | |
Результат | System |
public Update ( |
||
gameTime | ||
Результат | void |
public onDraw ( |
||
spriteBatch | ||
Результат | void |
public onUpdate ( |
||
gameTime | ||
Результат | void |
protected BoundingBox,Microsoft.Xna.Framework _boundingBox | ||
Результат | Microsoft.Xna.Framework.BoundingBox |
protected Texture2D,Microsoft.Xna.Framework.Graphics _texture | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |