Property | Type | Description | |
---|---|---|---|
_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 |
Method | Description | |
---|---|---|
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 | ||
return | 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 | |
return | System |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void | ||
cm | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public SetPosition ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public Update ( |
||
gameTime | ||
return | void |
public UseThis ( |
||
player | ||
return | void |
protected Rectangle,Microsoft.Xna.Framework _animTarget | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics _animTexture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected CounterManager,WarTornLands.Counter _cm | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics _texture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics _weaponTex | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |