C# Class WarTornLands.PlayerClasses.Player

Inheritance: Entity
Afficher le fichier Open project: floAr/WarTornLands Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
GetDrawPosition ( ) : Vector2
GetItemCount ( ) : int
GetSize ( ) : Vector2
GivePotion ( ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void
Player ( Microsoft.Xna.Framework.Game game ) : System
Update ( GameTime gameTime ) : void

Gibt den aktuellen Blickwinkel des Spielers im Bogenmaß zurück, wobei Oben = 0.

UsePotion ( object sender, EventArgs e ) : void

Méthodes protégées

Méthode Description
LoadContent ( ) : void

Private Methods

Méthode Description
GiveItem ( Items loot ) : void
OnBang ( object sender, BangEventArgs e ) : void
Player ( ) : System

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

GetDrawPosition() public méthode

public GetDrawPosition ( ) : Vector2
Résultat Vector2

GetItemCount() public méthode

public GetItemCount ( ) : int
Résultat int

GetSize() public méthode

public GetSize ( ) : Vector2
Résultat Vector2

GivePotion() public méthode

public GivePotion ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void
cm Microsoft.Xna.Framework.Content.ContentManager
Résultat void

Player() public méthode

public Player ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
Résultat System

Update() public méthode

Gibt den aktuellen Blickwinkel des Spielers im Bogenmaß zurück, wobei Oben = 0.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

UsePotion() public méthode

public UsePotion ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void