mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Appel de setup scene + mise de Gestion Collison comme ptr
This commit is contained in:
@ -16,6 +16,7 @@ GestionJeu::GestionJeu()
|
||||
gTerrain = GestionTerrain::_new();
|
||||
|
||||
gMobs = new GestionMobs();
|
||||
gCollision = new GestionCollision(gMobs, gPlayer, gTerrain);
|
||||
}
|
||||
|
||||
GestionJeu::~GestionJeu()
|
||||
@ -62,7 +63,7 @@ void GestionJeu::create_scene()
|
||||
void GestionJeu::setup_scene()
|
||||
{
|
||||
gPlayer->setPosition(15, 150);
|
||||
gTerrain->AjoutSolSolide(1, 1, 10, 300);
|
||||
gTerrain->GenerationCarte();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user