yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::OverworldInteractionCoordinator Class Reference

Translates raw user input into high-level Overworld commands. More...

#include <interaction_coordinator.h>

Collaboration diagram for yaze::editor::OverworldInteractionCoordinator:

Public Member Functions

 OverworldInteractionCoordinator (OverworldCommandSink sink)
 
void Update (zelda3::GameEntity *hovered_entity=nullptr)
 Polls for keyboard shortcuts and mouse interactions. Triggers callbacks in the CommandSink when appropriate.
 

Private Attributes

OverworldCommandSink sink_
 

Detailed Description

Translates raw user input into high-level Overworld commands.

This class is narrowly scoped to input-to-command translation. It does not own editor state or perform domain mutations.

Definition at line 55 of file interaction_coordinator.h.

Constructor & Destructor Documentation

◆ OverworldInteractionCoordinator()

yaze::editor::OverworldInteractionCoordinator::OverworldInteractionCoordinator ( OverworldCommandSink sink)
explicit

Definition at line 8 of file interaction_coordinator.cc.

Member Function Documentation

◆ Update()

Member Data Documentation

◆ sink_

OverworldCommandSink yaze::editor::OverworldInteractionCoordinator::sink_
private

Definition at line 66 of file interaction_coordinator.h.

Referenced by Update().


The documentation for this class was generated from the following files: