aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex00/Pony.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex00/Pony.hpp')
-rw-r--r--cpp01/ex00/Pony.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp01/ex00/Pony.hpp b/cpp01/ex00/Pony.hpp
index 571414c..5c42a60 100644
--- a/cpp01/ex00/Pony.hpp
+++ b/cpp01/ex00/Pony.hpp
@@ -6,20 +6,26 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:26:16 by charles #+# #+# */
-/* Updated: 2020/04/13 09:27:49 by charles ### ########.fr */
+/* Updated: 2020/11/09 09:54:25 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PONY_HPP
# define PONY_HPP
+# include <iostream>
+# include <string>
+
class Pony
{
public:
- Pony(int weight, int maxSpeed);
+ 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;
};