aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex04/SuperTrap.hpp
blob: 39a0378253ff3d6fe88702734110201fc8ec84f0 (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   SuperTrap.hpp                                      :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/04/13 17:48:31 by charles           #+#    #+#             */
/*   Updated: 2020/11/10 14:44:07 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef SUPERTRAP_HPP
# define SUPERTRAP_HPP

# include <string>
# include <iostream>
# include "FragTrap.hpp"
# include "NinjaTrap.hpp"

class SuperTrap : public FragTrap, public NinjaTrap
{
public:
	SuperTrap();
	SuperTrap(std::string const& name);
	SuperTrap(SuperTrap const& other);
	SuperTrap& operator=(SuperTrap const& other);
	~SuperTrap();

	void rangedAttack(std::string const& target) const;
	void meleeAttack(std::string const& target) const;

};

#endif