Свойство | Тип | Описание | |
---|---|---|---|
_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 SetPosition ( Vector2 position ) : void | ||
position | Vector2 | |
Результат | 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 |