Method | Description | |
---|---|---|
AddItem ( Item item ) : void | ||
DrawForBattle ( |
||
DrawForOverworld ( |
||
HealthAfterCombat ( IBattleCharacter enemy ) : int | ||
IsDead ( ) : bool |
Checks if the Player is dead
|
|
LoadTexture ( Microsoft.Xna.Framework.Game game ) : void | ||
Move ( int x, int y ) : void |
Moves the character.
|
|
Player ( Microsoft.Xna.Framework.Game game, int xPos, int yPos ) : System |
The Player constructor
|
|
getAccuracy ( string attackType ) : void |
public DrawForBattle ( |
||
spriteBatch | ||
x | int | |
y | int | |
return | void |
public DrawForOverworld ( |
||
spriteBatch | ||
map | ||
x | int | |
y | int | |
return | void |
public HealthAfterCombat ( IBattleCharacter enemy ) : int | ||
enemy | IBattleCharacter | |
return | int |
public LoadTexture ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
return | void |
public Player ( Microsoft.Xna.Framework.Game game, int xPos, int yPos ) : System | ||
game | Microsoft.Xna.Framework.Game | |
xPos | int | The starting x-position |
yPos | int | The starting y-position |
return | System |
public getAccuracy ( string attackType ) : void | ||
attackType | string | |
return | void |