-Removed bullet -Removed Soloud Removed every instances of bullet usage. Edited some UI stuff
30 lines
476 B
C++
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();
|
|
|
|
};
|
|
}
|