#pragma once
#include <CasualCore/Services/CasualService.h>
namespace bne
{
// Helper service to tick our EventService
// Needed because EventService is define in CoreLib where CC is not available
class EventServiceRunner : public CasualCore::CasualService
{
DECLARE_SERVICE(EventServiceRunner)
EventServiceRunner(const EventServiceRunner&);
EventServiceRunner& operator=(const EventServiceRunner&);
public:
EventServiceRunner() {}
bool Initialize() override;
static void RegisterService();
static void UnregisterService();
protected:
void Update(float time_elapsed) override;
};
}