DarkflameServer/dPhysics/dpShapeBase.cpp

17 lines
417 B
C++
Raw Permalink Normal View History

#include "dpShapeBase.h"
#include "dpEntity.h"
#include <iostream>
dpShapeBase::dpShapeBase(dpEntity* parentEntity) :
2022-07-28 13:39:57 +00:00
m_ParentEntity(parentEntity) {
}
dpShapeBase::~dpShapeBase() {
}
bool dpShapeBase::IsColliding(dpShapeBase* other) {
LOG("Base shapes do not have any *shape* to them, and thus cannot be overlapping.");
LOG("You should be using a shape class inherited from this base class.");
return false;
2022-07-28 13:39:57 +00:00
}