All Classes
Pyro Class Reference
+ Inheritance diagram for Pyro:
+ Collaboration diagram for Pyro:

Public Member Functions

 Pyro (const std::string &name, int health=100, int punch_damage=3, int damage2=2)
 
std::string WhoAmI () const
 
void Attack2 (Player &player) const
 
- Public Member Functions inherited from Soldier
 Soldier (const std::string &name, int health=75, int punch_damage=2, int damage2=3)
 
- Public Member Functions inherited from Player
 Player (const std::string &name, int health, int damage)
 
virtual void Attack (Player &other) const
 
void TakeDamage (int damage)
 
const std::string & getName () const
 
int getHealth () const
 
int getDamage () const
 
bool isAlive () const
 

Private Attributes

int damage2_
 

Detailed Description

Definition at line 3 of file Pyro.h.


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