aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex00/FragTrap.hpp
blob: 200b412a470e067b6d31c2ab9aa71cd2828f8233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   FragTrap.hpp                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/22 05:17:16 by cacharle          #+#    #+#             */
/*   Updated: 2020/02/22 05:40:56 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef FRAGTRAP_CPP
# define FRAGTRAP_CPP

# include <string>

class FragTrap
{
	FragTrap();
	FragTrap(FragTrap const & other);
	FragTrap operator=(FragTrap const & other);
	~FragTrap();

	rangedAttack(std::string const & target);
	meleeAttack(std::string const & target);
	takeDamage(unsigned int amount);
	beRepaired(unsigned int amount);
	vaulthunter_dot_exe(std::string const & target);

	protected:
		std::string name;
		int hitPoints;
		int maxHitPoints;
		int energyPoints;
		int maxEnergyPoints;
		int level;
		int meleeAttackDamage;
		int rangedAttackDamage;
		int armorDamageReduction;
};

#endif