blob: 692bb97db9807e5290f87b78aea94b1b12c221f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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";
}
|