Ajout gestionTerrain + Ajout Sol solide

This commit is contained in:
Amaury
2020-03-31 09:28:11 +02:00
parent be3f291382
commit 2b664e87ee
7 changed files with 93 additions and 3 deletions

View File

@ -13,6 +13,7 @@ using namespace godot;
GestionJeu::GestionJeu()
{
gPlayer = GestionPlayer::_new();
gTerrain = GestionTerrain::_new();
}
GestionJeu::~GestionJeu()
@ -50,7 +51,9 @@ void GestionJeu::_process()
void GestionJeu::create_scene()
{
Godot::print("Add childs");
add_child(gPlayer);
add_child(gTerrain);
}
void GestionJeu::setup_scene()