C# Class MiningGame.Code.Entities.PlayerEntity

Inheritance: EntityMoveable
Afficher le fichier Open project: geel9/Minor-Destruction Class Usage Examples

Méthodes publiques

Свойство Type Description
EquippedItem System.Item
FacingLeft bool
LegsAnimateable Animateable
OtherPlayerNetworkFlags byte
PClass MiningGame.Code.PlayerClasses.PlayerClass
PlayerID byte
PlayerName string
TorsoAnimateable Animateable
playerTeam int

Méthodes publiques

Méthode Description
Draw ( SpriteBatch sb ) : void
GetAimingAngle ( ) : short
GetBlockAimingAt ( ) : Vector2
OnAttack ( ) : void
PlayerEntity ( Vector2 position, byte playerID, string name = "Player" ) : System
Update ( GameTime time ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetAimingAngle() public méthode

public GetAimingAngle ( ) : short
Résultat short

GetBlockAimingAt() public méthode

public GetBlockAimingAt ( ) : Vector2
Résultat Vector2

OnAttack() public méthode

public OnAttack ( ) : void
Résultat void

PlayerEntity() public méthode

public PlayerEntity ( Vector2 position, byte playerID, string name = "Player" ) : System
position Vector2
playerID byte
name string
Résultat System

Update() public méthode

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

EquippedItem public_oe property

public Item,System EquippedItem
Résultat System.Item

FacingLeft public_oe property

public bool FacingLeft
Résultat bool

LegsAnimateable public_oe property

public Animateable LegsAnimateable
Résultat Animateable

OtherPlayerNetworkFlags public_oe property

public byte OtherPlayerNetworkFlags
Résultat byte

PClass public_oe property

public PlayerClass,MiningGame.Code.PlayerClasses PClass
Résultat MiningGame.Code.PlayerClasses.PlayerClass

PlayerID public_oe property

public byte PlayerID
Résultat byte

PlayerName public_oe property

public string PlayerName
Résultat string

TorsoAnimateable public_oe property

public Animateable TorsoAnimateable
Résultat Animateable

playerTeam public_oe property

public int playerTeam
Résultat int