25#include "guillaume/systems/hand_event_system.hpp"
27#include "guillaume/components/hand_poke_interaction.hpp"
29#include <utility/event/hand_poke_event.hpp>
53 utility::event::HandPokeEvent>
76 bool engaged)
override;
Whether an XR hand pokes an entity (touches it with a finger), and what to call when it does.
Hands each engine event to the listeners subscribed to its type.
HandPoke(event::EventBus &eventBus)
Create the system, in the Event phase, and subscribe it to hand poke events.
void setEngaged(components::HandPokeInteraction &interaction, bool engaged) override
Write the poking flag of the interaction component.
~HandPoke(void) override
Destructor.
Base of the hand input systems that point at an entity: a gesture counts for the entity the hand ray ...
Rules. Every class here runs each frame on the entities that have the components it declares.