aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex00/Peon.hpp
blob: 7fe1e6b99854b7ae715a0aefc5a0fc4c1a362580 (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
44
45
46
47
48
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   Peon.hpp                                           :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/04/13 20:50:54 by charles           #+#    #+#             */
/*   Updated: 2020/12/11 10:26:58 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef PEON_HPP
# define PEON_HPP

# include <string>
# include <iostream>
# include "Victim.hpp"

class Peon : public Victim
{
public:
    Peon(std::string const& name);
    Peon& operator=(Peon const& other);
    Peon(Peon const& other);
    virtual ~Peon();

    virtual void getPolymorphed() const;

private:
    Peon();
};

class Rat : public Victim
{
public:
    Rat(std::string const& name);
    Rat& operator=(Rat const& other);
    Rat(Rat const& other);
    virtual ~Rat();

    virtual void getPolymorphed() const;

private:
    Rat();
};

#endif