C# 클래스 Gears.Playable.Unit

TODO: Comments. Clean up. Refactor.
상속: System.Entity
파일 보기 프로젝트 열기: spectrumbranch/gearsvge 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_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 ( SpriteBatch spriteBatch ) : void
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 ( GameTime gameTime ) : void
onAnimEnd ( ) : void
onAnimStart ( ) : void
onDraw ( SpriteBatch spriteBatch ) : void
onMapEnd ( ) : void
onMapStart ( ) : void
onUpdate ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
CalculateBoundingBox ( ) : void

비공개 메소드들

메소드 설명
CheckDrawEvents ( SpriteBatch spriteBatch ) : void
CheckUpdateEvents ( GameTime gameTime ) : void
HandleTextureFileLocationError ( bool throwException ) : void
Initialize ( ) : void
LoadContent ( ) : void
Unit ( UnitParameters up ) : System

메소드 상세

CalculateBoundingBox() 보호된 메소드

protected CalculateBoundingBox ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Unit() 공개 메소드

This defaulted constructor is for debugging/testing purposes only. It is required in a regular game to use a parameterized constructor instead.
public Unit ( ) : System
리턴 System

Unit() 공개 메소드

public Unit ( Vector2 startingPosition, Color color, float rotation ) : System
startingPosition Vector2
color Color
rotation float
리턴 System

Unit() 공개 메소드

public Unit ( Vector2 startingPosition, Color color, float rotation, Vector2 imageOrigin ) : System
startingPosition Vector2
color Color
rotation float
imageOrigin Vector2
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

onAnimEnd() 공개 메소드

public onAnimEnd ( ) : void
리턴 void

onAnimStart() 공개 메소드

public onAnimStart ( ) : void
리턴 void

onDraw() 공개 메소드

public onDraw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

onMapEnd() 공개 메소드

public onMapEnd ( ) : void
리턴 void

onMapStart() 공개 메소드

public onMapStart ( ) : void
리턴 void

onUpdate() 공개 메소드

public onUpdate ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

_boundingBox 보호되어 있는 프로퍼티

protected BoundingBox,Microsoft.Xna.Framework _boundingBox
리턴 Microsoft.Xna.Framework.BoundingBox

_color 보호되어 있는 프로퍼티

protected Color _color
리턴 Color

_depth 보호되어 있는 프로퍼티

protected float _depth
리턴 float

_imageOrigin 보호되어 있는 프로퍼티

protected Vector2 _imageOrigin
리턴 Vector2

_position 보호되어 있는 프로퍼티

protected Vector2 _position
리턴 Vector2

_rotation 보호되어 있는 프로퍼티

protected float _rotation
리턴 float

_scale 보호되어 있는 프로퍼티

protected float _scale
리턴 float

_texFileLoc 보호되어 있는 프로퍼티

protected string _texFileLoc
리턴 string

_texture 보호되어 있는 프로퍼티

protected Texture2D,Microsoft.Xna.Framework.Graphics _texture
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

_textureFileName 보호되어 있는 프로퍼티

protected string _textureFileName
리턴 string

_transformedPoints 보호되어 있는 프로퍼티

protected Vector3[] _transformedPoints
리턴 Vector3[]