Potato Engine
Loading...
Searching...
No Matches
TickController.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "EventController.hpp"
5
11{
12public:
13 virtual ~ITickController() = default;
14
21 virtual bool RegisterTick(EventDelegate<float> delegate) = 0;
22
27 virtual void UnregisterTick(void* object) = 0;
28
29};
Interface for event managing.
Interface to handle tick events.
virtual bool RegisterTick(EventDelegate< float > delegate)=0
Registers a delegate to recieve tick updates.
virtual void UnregisterTick(void *object)=0
Unregisters an object from receiving tick events.
A wrapper that carries response delegate information.