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