Chgt instanciation d'un nouveau mob a la godot

This commit is contained in:
Amaury 2020-04-21 14:56:20 +02:00
parent 84a49e865c
commit 672e9edf26

View File

@ -1,8 +1,11 @@
#include "GestionMobs.h"
#include "MobsCorpACorpIA.h"
void GestionMobs::AjoutMobC2C(int pvMax, int speed, int degat, int cooldown, int rangeDegat, int rangeAgro)
{
//mobs.push_back(FireElement);
MobsCorpACorpIA* fireElement = (MobsCorpACorpIA*) MobsCorpACorpIA::_new();
mobs.push_back(fireElement);
}
void GestionMobs::AjoutMobDistance(int pvMax, int speed, int degat, int cooldown, int rangeAgro)