aboutsummaryrefslogtreecommitdiffstats
path: root/src/terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/terrain.cpp')
-rw-r--r--src/terrain.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/terrain.cpp b/src/terrain.cpp
new file mode 100644
index 0000000..692bb97
--- /dev/null
+++ b/src/terrain.cpp
@@ -0,0 +1,15 @@
+#include "terrain.hpp"
+
+#include <iostream>
+
+#include "raylib.h"
+
+Terrain::Terrain(int const & x, int const & y, int const & thick)
+ : x(x), y(y), thick(thick)
+{
+ std::cout << "\ncreate new terrain with parameters :\n" << this->x << " " << this->y << " " << this->thick << std::endl;
+}
+
+Terrain::~Terrain(void) {
+ std::cout << "destroy terrain\n";
+}