23#ifndef DIAMONDTRAP_HPP
24#define DIAMONDTRAP_HPP
Represents a DiamondTrap robot, inheriting from both FragTrap and ScavTrap.
void attack(const std::string &target)
Attack function implementation for DiamondTrap, using ScavTrap's attack.
DiamondTrap()
Default constructor implementation for DiamondTrap.
virtual const std::string & getName() const
Gets the DiamondTrap's private name.
virtual ~DiamondTrap()
Virtual destructor implementation for DiamondTrap.
static const unsigned int defaultAttackDamage
DiamondTrap & operator=(const DiamondTrap &other)
Copy assignment operator implementation for DiamondTrap.
static const unsigned int defaultHitPoints
void whoAmI()
whoAmI function implementation for DiamondTrap.
const std::string & getClapTrapName() const
Gets the ClapTrap's name associated with the DiamondTrap.
static const unsigned int defaultEnergyPoints
Represents a FragTrap robot, a specialized type derived from ClapTrap.
static const unsigned int defaultHitPoints
static const unsigned int defaultAttackDamage
Represents a ScavTrap robot, a specialized type derived from ClapTrap.
static const unsigned int defaultEnergyPoints
Header file for the FragTrap class, a derived class of ClapTrap.
Header file for the ScavTrap class, a derived class of ClapTrap.