blob: 66299050b55b45213ff10517916b55f60253840d (
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PlasmaRifle.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 13:07:24 by charles #+# #+# */
/* Updated: 2020/04/14 13:18:53 by charles ### ########.fr */
/* */
/* ************************************************************************** */
#include "PlasmaRifle.hpp"
PlasmaRifle::PlasmaRifle()
: AWeapon("Plasma Rifle", 5, 21)
{
}
PlasmaRifle::PlasmaRifle(PlasmaRifle const& other)
{
*this = other;
}
void PlasmaRifle::operator=(PlasmaRifle const& other)
{
AWeapon::operator=(other);
}
PlasmaRifle::~PlasmaRifle()
{
}
void PlasmaRifle::attack() const
{
std::cout << "* piouuu piouuu piouuu *" << std::endl;
}
|