C# Class DodongosQuest.Creatures.Player.PlayerCharacter

Inheritance: ICreature
Afficher le fichier Open project: faintpixel/Roguelike Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
TemporaryEffectCompleted ( ITemporaryEffect sender ) : void

Method Details

AddTemporaryEffect() public méthode

public AddTemporaryEffect ( ITemporaryEffect effect ) : void
effect ITemporaryEffect
Résultat void

AttackCreature() public méthode

public AttackCreature ( ICreature &creature ) : void
creature ICreature
Résultat void

Draw() public méthode

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

GetItemFromInventory() public méthode

public GetItemFromInventory ( Items itemType ) : IItem
itemType Items
Résultat IItem

IsPlayer() public méthode

public IsPlayer ( ) : bool
Résultat bool

PlayerCharacter() public méthode

public PlayerCharacter ( Vector2 worldIndex, World world ) : System
worldIndex Vector2
world World
Résultat System

TakeTurn() public méthode

public TakeTurn ( ) : void
Résultat void

Update() public méthode

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