aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex00/Sorcerer.hpp
blob: ed261ae3e0f0e277d322954ed561dba47a7dcc73 (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   Sorcerer.hpp                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/04/13 20:27:26 by charles           #+#    #+#             */
/*   Updated: 2020/04/13 20:58:46 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef SORCERER_HPP
# define SORCERER_HPP

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

class Sorcerer
{
public:
    Sorcerer(std::string name, std::string title);
    void operator=(Sorcerer const& other);
    Sorcerer(Sorcerer const& other);
    ~Sorcerer();

    std::string const& getName() const;
    std::string const& getTitle() const;
    void polymorph(Victim const& v) const;

private:
    Sorcerer();

    std::string m_name;
    std::string m_title;
};

std::ostream& operator<<(std::ostream& out, Sorcerer const& s);

#endif