mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Ajout gestionTerrain + Ajout Sol solide
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user