|
| | InteractionComponent (std::function< void(void *, void *)> callback) |
| | Constructor for the InteractionComponent.
|
| |
| void | interact (void *actor, void *data) override |
| | Internal function to be called when an interaction event is triggered.
|
| |
| std::shared_ptr< Vector2D > | getPosition () override |
| | Internal function to use as reference for targeting.
|
| |
|
virtual void | init () |
| |
| virtual void | update (uint_fast16_t diffTime) |
| |
◆ InteractionComponent()
| InteractionComponent::InteractionComponent |
( |
std::function< void(void *, void *)> | callback | ) |
|
◆ getPosition()
| std::shared_ptr< Vector2D > InteractionComponent::getPosition |
( |
| ) |
|
|
overridevirtual |
◆ interact()
| void InteractionComponent::interact |
( |
void * | actor, |
|
|
void * | data ) |
|
overridevirtual |
Internal function to be called when an interaction event is triggered.
Implements InteractionListener.
The documentation for this class was generated from the following files: