Génération d'un sol

This commit is contained in:
Amaury
2020-04-14 09:01:50 +02:00
parent 4f9c15a206
commit b5728a5076
2 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,7 @@ using namespace godot;
GestionTerrain::GestionTerrain()
{
Godot::print("Constructeur");
Godot::print("Constructeur Terrain");
}
GestionTerrain::~GestionTerrain()
@ -75,3 +75,11 @@ void GestionTerrain::AjoutSolTraversable(int sizeX, int sizeY, int posX, int pos
void GestionTerrain::SuppressionTout()
{
}
void GestionTerrain::GenerationCarte()
{
AjoutSolSolide(1, 1, 85, 300);
AjoutSolSolide(1, 1, 255, 300);
AjoutSolSolide(1, 1, 340, 300);
AjoutSolSolide(1, 1, 425, 300);
}