#include <Player.h>
Inheritance diagram for Player:
Public Methods | |
int | moveRelative (int dx, int dy) |
returns '1' if your movement did complete a quest. | |
Player () | |
Default variables and statistics for our player. | |
Public Attributes | |
Quest * | questptr |
a pointer to their current objective. | |
int | map |
the number of the "level" they're on, starting from 0. | |
int | gold |
how much money the player has. | |
int | keys |
obviously how many skeleton keys our player is carrying. | |
int | weapon_mod |
Your current weapon modifier. Affects damage and accuracy. | |
int | ac_mod |
Your current armour class. Affects dodge and damage dampening. | |
int | strength_mod |
Current strength base, added to weapon_mod. Unused for now. | |
int | agility_mod |
Current agility base. Added to ac_mod. | |
int | healingpotions |
Number of healing potions in inventory. | |
int | manapotions |
Number of mana potions in inventory. | |
bool | bHasMagic |
Has magic capability, unused. | |
bool | bHasHealSpell |
Has Heal 1 spell, by default. | |
bool | bHasFireSpell |
Has Fire 1 spell. | |
bool | bHasLightningSpell |
Has Mr. Zappy spell. | |
bool | bHasEarthSpell |
Has Earth 1 spell. | |
bool | bHasMeteor |
Has Meteor 1 spell. | |
bool | bHasHandOfDeath |
Has Hand of Death spell. | |
bool | bHasFullHeal |
Has Full Heal spell. | |
bool | bHasScornAndAbuse |
Damaging attack. | |
bool | bHasMessiah |
Allows you to come back from the dead. | |
bool | bHasTheRapture |
Kills everyone in the game and leaves you alone to ponder a ruined world of your own creation. | |
std::vector< Item * > | yourStuff |
Our player's inventory, made of Shop items. |