All Classes
Player Class Referenceabstract
+ Inheritance diagram for Player:

Public Member Functions

 Player (const std::string &name, int health, int damage)
 
virtual std::string WhoAmI () const =0
 
virtual void Attack (Player &other) const
 
virtual void Attack2 (Player &other) const =0
 
void TakeDamage (int damage)
 
const std::string & getName () const
 
int getHealth () const
 
int getDamage () const
 
bool isAlive () const
 

Private Attributes

std::string name_
 
int health_
 
int damage_
 

Detailed Description

Definition at line 6 of file Player.h.


The documentation for this class was generated from the following file: