C# Class DodongosQuest.Creatures.Player.PlayerCharacter

Inheritance: ICreature
Mostra file Open project: faintpixel/Roguelike Class Usage Examples

Public Methods

Method Description
AddTemporaryEffect ( ITemporaryEffect effect ) : void
AttackCreature ( ICreature &creature ) : void
Draw ( GameTime gameTime ) : void
GetItemFromInventory ( Items itemType ) : IItem
IsPlayer ( ) : bool
PlayerCharacter ( Vector2 worldIndex, World world ) : System
TakeTurn ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
TemporaryEffectCompleted ( ITemporaryEffect sender ) : void

Method Details

AddTemporaryEffect() public method

public AddTemporaryEffect ( ITemporaryEffect effect ) : void
effect ITemporaryEffect
return void

AttackCreature() public method

public AttackCreature ( ICreature &creature ) : void
creature ICreature
return void

Draw() public method

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

GetItemFromInventory() public method

public GetItemFromInventory ( Items itemType ) : IItem
itemType Items
return IItem

IsPlayer() public method

public IsPlayer ( ) : bool
return bool

PlayerCharacter() public method

public PlayerCharacter ( Vector2 worldIndex, World world ) : System
worldIndex Vector2
world World
return System

TakeTurn() public method

public TakeTurn ( ) : void
return void

Update() public method

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