1#ifndef YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_ENTITY_INTERACTION_H
2#define YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_ENTITY_INTERACTION_H
6#include "imgui/imgui.h"
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Handles entity interaction logic for the Overworld Editor.
zelda3::OverworldItem current_item_
void FinishDrag()
Finish an active drag operation.
zelda3::Sprite current_sprite_
zelda3::OverworldExit & current_exit()
zelda3::Sprite & current_sprite()
zelda3::OverworldEntrance current_entrance_
int HandleDoubleClick(zelda3::GameEntity *hovered_entity)
Handle double-click actions on entities.
zelda3::OverworldExit current_exit_
zelda3::GameEntity * current_entity_
zelda3::GameEntity * dragged_entity_
OverworldEntityInteraction(Rom *rom)
zelda3::OverworldEntrance & current_entrance()
void HandleContextMenus(zelda3::GameEntity *hovered_entity)
Handle entity context menus on right-click.
zelda3::GameEntity * dragged_entity() const
zelda3::GameEntity * current_entity() const
void SetEntityRenderer(OverworldEntityRenderer *renderer)
zelda3::OverworldItem & current_item()
bool HandleDragDrop(zelda3::GameEntity *hovered_entity, ImVec2 mouse_delta)
Handle entity drag-and-drop operations.
OverworldEntityRenderer * entity_renderer_
Handles visualization of all overworld entities (entrances, exits, items, sprites)
Base class for all overworld and dungeon entities.
Represents an overworld exit that transitions from dungeon to overworld.
A class for managing sprites in the overworld and underworld.