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