blob: 7b54a33401195e8ac0810f36f18e3b6396eb7a5d (
plain) (
tree)
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Behavior.h"
bool cBehavior::IsControlDesired()
{
LOGD("ERROR: Probably forgot to implement cBehavior::IsControlDesired but implement cBehavior::Tick");
return false;
}
bool cBehavior::ControlStarting()
{
return true;
}
bool cBehavior::ControlEnding()
{
return true;
}
void cBehavior::Tick()
{
LOGD("ERROR: Called a TICK on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
void cBehavior::PostTick()
{
LOGD("ERROR: Called a PostTick on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
void cBehavior::PreTick()
{
LOGD("ERROR: Called a PreTick on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
void cBehavior::onRightClicked()
{
LOGD("ERROR: Called onRightClicked on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
void cBehavior::Destroyed()
{
LOGD("ERROR: Called Destroyed on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
void cBehavior::DoTakeDamage(TakeDamageInfo & a_TDI)
{
UNUSED(a_TDI);
LOGD("ERROR: Called DoTakeDamage on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
|