feat: adding the class ScavTrap

This commit is contained in:
Raphael 2025-01-24 18:33:58 +01:00
parent 0188957b10
commit 245ac4c3a9
5 changed files with 38 additions and 7 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/10 13:59:49 by rparodi #+# #+# */
/* Updated: 2025/01/14 21:59:42 by rparodi ### ########.fr */
/* Updated: 2025/01/24 18:32:35 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,6 +14,10 @@
#include <string>
#include <iostream>
ClapTrap::ClapTrap() {
}
ClapTrap::ClapTrap(std::string name) {
_name = name;
_hit_point = 10;