mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
20
dPhysics/dpShapeBase.h
Normal file
20
dPhysics/dpShapeBase.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "dpCommon.h"
|
||||
|
||||
class dpEntity;
|
||||
|
||||
class dpShapeBase {
|
||||
public:
|
||||
dpShapeBase(dpEntity* parentEntity);
|
||||
virtual ~dpShapeBase();
|
||||
|
||||
virtual bool IsColliding(dpShapeBase* other) = 0;
|
||||
|
||||
const dpShapeType& GetShapeType() const { return m_ShapeType; }
|
||||
|
||||
dpEntity* GetParentEntity() const { return m_ParentEntity; }
|
||||
|
||||
protected:
|
||||
dpEntity* m_ParentEntity;
|
||||
dpShapeType m_ShapeType = dpShapeType::Invalid;
|
||||
};
|
Reference in New Issue
Block a user