프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_animFacing | Facing | ||
_animSource | Vector2 | ||
_animTarget | |||
_animTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
_animated | bool | ||
_animationType | AnimationType | ||
_canBeAttacked | bool | ||
_canBePickedUp | bool | ||
_canBeUsed | bool | ||
_canSpeak | bool | ||
_cm | |||
_frame | int | ||
_frameSize | Vector2 | ||
_health | int | ||
_hitCounter | string | ||
_name | string | ||
_position | Vector2 | ||
_radius | float | ||
_texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
_tilepos | Point | ||
_weaponRange | float | ||
_weaponTex | Microsoft.Xna.Framework.Graphics.Texture2D | ||
animCounter | String |
메소드 | 설명 | |
---|---|---|
CanBePickedUp ( ) : bool | ||
CanBeUsed ( ) : bool | ||
CanSpeak ( ) : bool | ||
Damage ( int damage ) : int | ||
Draw ( |
||
Entity ( Microsoft.Xna.Framework.Game game, Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, String name = "Entity" ) : System | ||
GetDrawPosition ( ) : Vector2 | ||
GetHealth ( ) : int | ||
GetName ( ) : String | ||
GetPosition ( ) : Vector2 | ||
GetRelWeaponDrawPos ( ) : Vector2 | ||
GetRoundedAngle ( ) : double | ||
GetSize ( ) : Vector2 | ||
IdentifyObjektTyp ( ) : int |
Gibt den Objekttyp als Zahl zurück.
|
|
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void | ||
OnCollide ( Entity source ) : void | ||
OnDie ( ) : void | ||
SetPosition ( Vector2 position ) : void | ||
Update ( |
||
UseThis ( |
public Draw ( |
||
gameTime | ||
리턴 | void |
public Entity ( Microsoft.Xna.Framework.Game game, Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, String name = "Entity" ) : System | ||
game | Microsoft.Xna.Framework.Game | |
position | Vector2 | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
name | String | |
리턴 | System |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void | ||
cm | Microsoft.Xna.Framework.Content.ContentManager | |
리턴 | void |
public Update ( |
||
gameTime | ||
리턴 | void |
public UseThis ( |
||
player | ||
리턴 | void |
protected Rectangle,Microsoft.Xna.Framework _animTarget | ||
리턴 |
protected Texture2D,Microsoft.Xna.Framework.Graphics _animTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected CounterManager,WarTornLands.Counter _cm | ||
리턴 |
protected Texture2D,Microsoft.Xna.Framework.Graphics _texture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics _weaponTex | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |