1 #ifndef HB_FUNCTION_COMPONENT_H
2 #define HB_FUNCTION_COMPONENT_H
4 #include "GameObject.h"
5 #include "DataRepository.h"
39 std::vector<GameObjectMessageManager::ListenerId<DataRepository>> m_vector_of_listener_id;
Definition: DataRepository.h:12
GameObject::Component with parametrized update function.This class allows you to set the functions th...
Definition: FunctionComponent.h:17
FunctionComponent()
Class constructor.
virtual ~FunctionComponent() override
Class destructor.
Definition: Box2DPlugin.h:6
Base class for implementing custom Components.
Definition: GameObject.h:57
void addListener(const std::string &name, std::function< void(DataRepository &)> &&listener)
Add listener to GameObject MessageManager.