Files
Nuake-custom/Nuake/src/Core/Physics/GhostObject.h
Antoine Pilote 382802c62a Rework
-Removed bullet
-Removed Soloud
Removed every instances of bullet usage.
Edited some UI stuff
2022-09-24 20:14:51 -04:00

30 lines
476 B
C++

#pragma once
#include "src/Core/Core.h"
#include "src/Core/Maths.h"
#include "PhysicsShapes.h"
#include <vector>
#include <Engine.h>
namespace Nuake
{
class GhostObject {
private:
std::vector<Entity> m_OverlappingEntities;
public:
GhostObject(Vector3 position, Ref<Physics::PhysicShape> shape);
int OverlappingCount();
void ClearOverlappingList();
void ScanOverlap();
void SetEntityID(Entity ent);
std::vector<Entity> GetOverlappingEntities();
};
}