HumanA.hpp
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* HumanA.hpp :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/07/25 21:33:27 by gychoi #+# #+# */ 9 /* Updated: 2023/07/25 22:27:56 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #pragma once 14 #ifndef __HUMANA_H__ 15 #define __HUMANA_H__ 16 17 #include "Weapon.hpp" 18 19 class HumanA 20 { 21 public: 22 HumanA(const std::string& name, const Weapon& weapon); 23 void attack(void); 24 25 private: 26 const Weapon& _weapon; 27 const std::string _name; 28 }; 29 30 #endif