fix(ex03): never construct more than one ClapTrap when constructing DiamondTrap
This commit is contained in:
parent
812791dc77
commit
a843186f5e
5 changed files with 33 additions and 18 deletions
|
|
@ -12,6 +12,11 @@ public:
|
|||
ScavTrap &operator=(const ScavTrap &other);
|
||||
|
||||
void guardGate();
|
||||
|
||||
protected:
|
||||
static const unsigned int default_hit_points;
|
||||
static const unsigned int default_energy_points;
|
||||
static const unsigned int default_attack_damage;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue