mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
17
dPhysics/dpShapeBase.cpp
Normal file
17
dPhysics/dpShapeBase.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "dpShapeBase.h"
|
||||
#include "dpEntity.h"
|
||||
#include <iostream>
|
||||
|
||||
dpShapeBase::dpShapeBase(dpEntity* parentEntity) :
|
||||
m_ParentEntity(parentEntity)
|
||||
{
|
||||
}
|
||||
|
||||
dpShapeBase::~dpShapeBase() {
|
||||
}
|
||||
|
||||
bool dpShapeBase::IsColliding(dpShapeBase* other) {
|
||||
std::cout << "Base shapes do not have any *shape* to them, and thus cannot be overlapping." << std::endl;
|
||||
std::cout << "You should be using a shape class inherited from this base class." << std::endl;
|
||||
return false;
|
||||
}
|
Reference in New Issue
Block a user