handleTickEvent not working with container
Hi
I've declared virtual void handleTickEvent() in the header file of my container.
In my cpp file of the container I would like to update my battery bar on every tick:
void BatteryBar::handleTickEvent()
{
if(tickCounter >= 100)
{
tickCounter = 0;
}
UpdateBatteryBar(tickCounter++);
}I'm not getting it to run. It never enters to handleTickEvent().
What else do I have to do to enable the tick event?
Regards
Dejan