style: using the canonical form
This commit is contained in:
parent
d59e35466b
commit
a909970d76
18 changed files with 201 additions and 37 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/10 14:54:21 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/10 15:52:10 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/02/10 10:24:18 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,17 +17,19 @@
|
|||
|
||||
class ClapTrap {
|
||||
public:
|
||||
ClapTrap();
|
||||
ClapTrap(ClapTrap const ©);
|
||||
ClapTrap(std::string name);
|
||||
~ClapTrap();
|
||||
void attack(const std::string& target);
|
||||
void takeDamage(unsigned int amount);
|
||||
void beRepaired(unsigned int amount);
|
||||
private:
|
||||
ClapTrap();
|
||||
protected:
|
||||
std::string _name;
|
||||
int _hit_point;
|
||||
int _energy_point;
|
||||
int _attack_damage;
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue