Changement Gestion Player

This commit is contained in:
Amaury
2020-03-31 11:09:47 +02:00
parent 8143db69b1
commit 74fbc1ed6c
3 changed files with 24 additions and 35 deletions

View File

@ -51,13 +51,14 @@ void GestionJeu::_process()
void GestionJeu::create_scene()
{
Godot::print("Add childs");
add_child(gPlayer);
add_child(gTerrain);
}
void GestionJeu::setup_scene()
{
gPlayer->setPosition(15, 150);
gTerrain->AjoutSolSolide(1, 1, 10, 300);
}