mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Conversion MobsIA en KinematicBody2D
This commit is contained in:
@ -59,8 +59,9 @@ void GestionJeu::create_scene()
|
||||
add_child(gPlayer);
|
||||
add_child(gTerrain);
|
||||
gMobs->AjoutMobC2C(10, 20, 5, 0, 1, 25);
|
||||
for (MobsIA* m : gMobs->mobs)
|
||||
for (KinematicBody2D* m : gMobs->mobs)
|
||||
{
|
||||
auto mob = (MobsCorpACorpIA*) m;
|
||||
Godot::print("Add child mob");
|
||||
add_child(m);
|
||||
}
|
||||
|
Reference in New Issue
Block a user