mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
25 lines
475 B
C++
25 lines
475 B
C++
#pragma once
|
|
#include "GestionMobs.h"
|
|
#include "GestionPlayer.h"
|
|
#include "GestionTerrain.h"
|
|
#include "Mobs.h"
|
|
#include <vector>
|
|
|
|
using namespace godot;
|
|
|
|
class GestionCollision
|
|
{
|
|
public :
|
|
GestionTerrain* gTerrain;
|
|
GestionMobs* gMobs;
|
|
GestionPlayer* gPlayer;
|
|
|
|
public:
|
|
GestionCollision(GestionMobs* m, GestionPlayer* p, GestionTerrain* t);
|
|
|
|
std::vector<MobsIA*> CheckCollisonSol();
|
|
std::vector<MobsIA*> CheckCollisonMur();
|
|
std::vector<MobsIA*> CheckCollisonToit();
|
|
};
|
|
|