Pokemon Project
Dependencies: C12832 LM75B MMA7660 mbed
player.h
- Committer:
- dhermy01
- Date:
- 2017-01-23
- Revision:
- 0:cec9a625dfb9
File content as of revision 0:cec9a625dfb9:
#include <string> // Init var typedef unsigned int uns; extern std::string TYPEStr[3]; typedef enum Type {FIRE, WATER, GRASS} Type_e; // Class player class Player { public: Player(); Player(uns, uns, Type_e); //fight int fight(Player p); //lvlup void lvlUp(); void checkEXP(); //setting void setType(Type_e); std::string toString(void); protected: //stats uns lvl; Type_e type; uns attackDmg; uns exp; float crit; };