aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex01/PowerFist.cpp
blob: 2ae03371431e193546dd5479ed4f4670e0bcd75e (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   PowerFist.cpp                                      :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/04/14 13:15:42 by charles           #+#    #+#             */
/*   Updated: 2020/11/12 13:40:53 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "PowerFist.hpp"

PowerFist::PowerFist() : AWeapon("Power Fist", 8, 50) {}

PowerFist::PowerFist(PowerFist const& other) : AWeapon(other) {}

PowerFist& PowerFist::operator=(PowerFist const& other)
{
    AWeapon::operator=(other);
    return *this;
}

PowerFist::~PowerFist() {}

void PowerFist::attack() const
{
    std::cout << "* pschhh... SBAM! *" << std::endl;
}