aboutsummaryrefslogtreecommitdiffstats
path: root/src/terrain.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-05 18:38:15 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-05 18:38:15 +0100
commit902946fef868b2c9448532d616745b29356d6bfa (patch)
tree2db6c4fcd2ace2fecb8d6672a5e1693d4a15bc87 /src/terrain.cpp
parentv0.0.3 onwards to better levels (diff)
downloadthreshold-902946fef868b2c9448532d616745b29356d6bfa.tar.gz
threshold-902946fef868b2c9448532d616745b29356d6bfa.tar.bz2
threshold-902946fef868b2c9448532d616745b29356d6bfa.tar.xz
threshold-902946fef868b2c9448532d616745b29356d6bfa.tar.zst
threshold-902946fef868b2c9448532d616745b29356d6bfa.zip
terrain is fukkkkd
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";
+}