C# Class WarTornLands.PlayerClasses.Player

Inheritance: Entity
Mostrar archivo Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
LoadContent ( ) : void

Private Methods

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

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

GetDrawPosition() public method

public GetDrawPosition ( ) : Vector2
return Vector2

GetItemCount() public method

public GetItemCount ( ) : int
return int

GetSize() public method

public GetSize ( ) : Vector2
return Vector2

GivePotion() public method

public GivePotion ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void
cm Microsoft.Xna.Framework.Content.ContentManager
return void

Player() public method

public Player ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

Update() public method

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

UsePotion() public method

public UsePotion ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void