mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Chgt instanciation d'un nouveau mob a la godot
This commit is contained in:
parent
84a49e865c
commit
672e9edf26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user