aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/Human.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex05/Human.cpp')
-rw-r--r--cpp01/ex05/Human.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpp01/ex05/Human.cpp b/cpp01/ex05/Human.cpp
new file mode 100644
index 0000000..4db0568
--- /dev/null
+++ b/cpp01/ex05/Human.cpp
@@ -0,0 +1,23 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* Human.cpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/02 12:52:38 by cacharle #+# #+# */
+/* Updated: 2020/02/02 13:08:39 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "Human.hpp"
+
+std::string Human::identify()
+{
+ return brain.identify();
+}
+
+const Brain& Human::getBrain()
+{
+ return brain;
+}