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