blob: 5c42a60458dfecafc2a70e76aeaabec8fe805a64 (
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Pony.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:26:16 by charles #+# #+# */
/* Updated: 2020/11/09 09:54:25 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PONY_HPP
# define PONY_HPP
# include <iostream>
# include <string>
class Pony
{
public:
Pony(std::string const& name, int weight, int maxSpeed);
~Pony();
void sayHello();
void run();
private:
std::string m_name;
int m_weight;
int m_maxSpeed;
};
#endif
|