Hummingbird Framework
 All Classes Functions Variables Modules Pages
ListenerComponent.h
1 #ifndef HB_LISTENER_COMPONENT_H
2 #define HB_LISTENER_COMPONENT_H
3 #include <SFML/Audio.hpp>
4 #include "../Core/GameObject.h"
5 
6 
7 namespace hb
8 {
14  {
15  public:
18  void init() override;
19  void postUpdate() override;
20  void setDirection(const Vector3d& direction) const;
21  };
22 }
23 #endif
void init() override
Function called once after the Component has been added to a GameObject.
Definition: ListenerComponent.h:13
A 3D vector.
Definition: Vector3d.h:14
void postUpdate() override
Function called in the post-update step.
Definition: Box2DPlugin.h:6
Base class for implementing custom Components.
Definition: GameObject.h:57