farmlands/src/base/Component.cpp

60 lines
583 B
C++
Raw Normal View History

/*
* Component.cpp
*
* Created on: Nov 30, 2016
* Author: tibi
*/
#include <base/Component.h>
namespace farmlands {
namespace base {
Component::Component()
: gameObject(nullptr)
{
}
Component::~Component()
{
}
void Component::onCreate()
{
}
void Component::onInitialize()
{
}
bool Component::onEvent(SDL_Event& event)
{
return false;
}
void Component::onUpdateLogic()
{
}
void Component::onPreRender()
{
}
void Component::onRender()
{
}
void Component::onPostRender()
{
}
void Component::onDestroy()
{
}
}
/* namespace base */
} /* namespace farmlands */