DarkflameServer/dPhysics/dpShapeBase.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
417 B
C++
Raw Normal View History

#include "dpShapeBase.h"
#include "dpEntity.h"
#include <iostream>
dpShapeBase::dpShapeBase(dpEntity* parentEntity) :
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;
}