프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_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 |