23#include "guillaume/systems/hand_poke.hpp"
29 utility::
event::HandPokeEvent>(eventBus)
38 interaction.setPoking(engaged);
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 ...
State. Every class here is plain data attached to an entity.
Delivery of engine events to the systems that subscribed to them.
Rules. Every class here runs each frame on the entities that have the components it declares.