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

Handles object selection, placement, and interaction within the dungeon canvas. More...

#include <dungeon_object_interaction.h>

Classes

struct  EntityClipboard
 

Public Member Functions

 DungeonObjectInteraction (gui::Canvas *canvas)
 
void SetContext (const InteractionContext &ctx)
 Set the unified interaction context.
 
InteractionCoordinatorentity_coordinator ()
 Get the interaction coordinator for entity handling.
 
const InteractionCoordinatorentity_coordinator () const
 
MutationDomain last_mutation_domain () const
 
MutationDomain last_invalidation_domain () const
 
void SetRom (Rom *rom)
 
void HandleCanvasMouseInput ()
 
void CheckForObjectSelection ()
 
void PlaceObjectAtPosition (int room_x, int room_y)
 
void DrawSelectionHighlights ()
 
void DrawHoverHighlight (const std::vector< zelda3::RoomObject > &objects)
 
void DrawGhostPreview ()
 
std::pair< int, int > RoomToCanvasCoordinates (int room_x, int room_y) const
 
std::pair< int, int > CanvasToRoomCoordinates (int canvas_x, int canvas_y) const
 
bool IsWithinCanvasBounds (int canvas_x, int canvas_y, int margin=32) const
 
void SetCurrentRoom (DungeonRoomStore *rooms, int room_id)
 
void SetPreviewObject (const zelda3::RoomObject &object, bool loaded)
 
void SetCurrentPaletteGroup (const gfx::PaletteGroup &group)
 
InteractionModeManagermode_manager ()
 
const InteractionModeManagermode_manager () const
 
bool IsObjectLoaded () const
 
void CancelPlacement ()
 
void SetDoorPlacementMode (bool enabled, zelda3::DoorType type=zelda3::DoorType::NormalDoor)
 
bool IsDoorPlacementActive () const
 
void SetPreviewDoorType (zelda3::DoorType type)
 
zelda3::DoorType GetPreviewDoorType () const
 
void CancelDoorPlacement ()
 
void SetSpritePlacementMode (bool enabled, uint8_t sprite_id=0)
 
bool IsSpritePlacementActive () const
 
void SetPreviewSpriteId (uint8_t id)
 
uint8_t GetPreviewSpriteId () const
 
void CancelSpritePlacement ()
 
void SetItemPlacementMode (bool enabled, uint8_t item_id=0)
 
bool IsItemPlacementActive () const
 
void SetPreviewItemId (uint8_t id)
 
uint8_t GetPreviewItemId () const
 
void CancelItemPlacement ()
 
std::vector< size_t > GetSelectedObjectIndices () const
 
void SetSelectedObjects (const std::vector< size_t > &indices)
 
bool IsObjectSelectActive () const
 
void ClearSelection ()
 
bool IsObjectSelected (size_t index) const
 
size_t GetSelectionCount () const
 
void SetSelectionChangeCallback (std::function< void()> callback)
 
void HandleScrollWheelResize ()
 
bool NudgeSelected (int delta_x, int delta_y)
 
void HandleDeleteSelected ()
 
void HandleDeleteAllObjects ()
 
void HandleCopySelected ()
 
void HandlePasteObjects ()
 
bool HasClipboardData () const
 
bool SetObjectId (size_t index, int16_t id)
 
bool SetObjectSize (size_t index, uint8_t size)
 
bool SetObjectLayer (size_t index, zelda3::RoomObject::LayerType layer)
 
bool CanAssignSelectedObjectsToLayer (int target_layer) const
 
bool SendSelectedToLayer (int target_layer)
 
void SendSelectedToFront ()
 
void SendSelectedToBack ()
 
void BringSelectedForward ()
 
void SendSelectedBackward ()
 
void SetLayerFilter (int layer)
 
int GetLayerFilter () const
 
bool IsLayerFilterActive () const
 
bool IsMaskModeActive () const
 
const char * GetLayerFilterName () const
 
void SetLayersMerged (bool merged)
 
bool AreLayersMerged () const
 
void HandleLayerKeyboardShortcuts ()
 
void SetObjectPlacedCallback (std::function< void(const zelda3::RoomObject &)> callback)
 
void SetCacheInvalidationCallback (std::function< void()> callback)
 
void SetMutationCallback (std::function< void()> callback)
 
void SetEditorSystem (zelda3::DungeonEditorSystem *system)
 
void SelectEntity (EntityType type, size_t index)
 
void ClearEntitySelection ()
 
bool HasEntitySelection () const
 
SelectedEntity GetSelectedEntity () const
 
void DrawEntitySelectionHighlights ()
 
void DrawDoorSnapIndicators ()
 
void SetEntityChangedCallback (std::function< void()> callback)
 
void SetDoorPairNavigationCallback (std::function< void(int, std::optional< size_t >, int, int)> callback)
 

Private Member Functions

DungeonCanvasTransform GetCanvasTransform () const
 
std::pair< int, int > CalculateObjectBounds (const zelda3::RoomObject &object)
 
void HandleLeftClick (const ImVec2 &canvas_mouse_pos)
 
void UpdateCollisionPainting (const ImVec2 &canvas_mouse_pos)
 
void UpdateWaterFillPainting (const ImVec2 &canvas_mouse_pos)
 
void HandleObjectSelectionStart (const ImVec2 &canvas_mouse_pos)
 
void HandleEmptySpaceClick (const ImVec2 &canvas_mouse_pos)
 
void HandleMouseRelease ()
 
bool HandleKeyboardNudge ()
 
void CopySelectedEntitiesToClipboard (bool clipboard_origin_set)
 
std::vector< SelectedEntityPasteEntityClipboardAt (int target_pixel_x, int target_pixel_y)
 

Private Attributes

gui::Canvascanvas_
 
zelda3::DungeonEditorSystemeditor_system_ = nullptr
 
DungeonRoomStorerooms_ = nullptr
 
int current_room_id_ = 0
 
InteractionContext interaction_context_
 
InteractionCoordinator entity_coordinator_
 
InteractionModeManager mode_manager_
 
zelda3::RoomObject preview_object_ {0, 0, 0, 0, 0}
 
gfx::PaletteGroup current_palette_group_
 
EntityClipboard entity_clipboard_
 
ObjectSelection selection_
 
std::function< void(const zelda3::RoomObject &) object_placed_callback_ )
 

Detailed Description

Handles object selection, placement, and interaction within the dungeon canvas.

This component manages mouse interactions for object selection (similar to OverworldEditor), object placement, drag operations, and multi-object selection.

Definition at line 43 of file dungeon_object_interaction.h.

Constructor & Destructor Documentation

◆ DungeonObjectInteraction()

yaze::editor::DungeonObjectInteraction::DungeonObjectInteraction ( gui::Canvas * canvas)
inlineexplicit

Member Function Documentation

◆ SetContext()

void yaze::editor::DungeonObjectInteraction::SetContext ( const InteractionContext & ctx)
inline

Set the unified interaction context.

This is the preferred method for configuring the interaction handler. It propagates context to all sub-handlers.

Definition at line 62 of file dungeon_object_interaction.h.

References yaze::editor::InteractionContext::canvas, canvas_, entity_coordinator_, interaction_context_, yaze::editor::InteractionContext::selection, selection_, and yaze::editor::InteractionCoordinator::SetContext().

Here is the call graph for this function:

◆ entity_coordinator() [1/2]

◆ entity_coordinator() [2/2]

const InteractionCoordinator & yaze::editor::DungeonObjectInteraction::entity_coordinator ( ) const
inline

Definition at line 75 of file dungeon_object_interaction.h.

References entity_coordinator_.

◆ last_mutation_domain()

MutationDomain yaze::editor::DungeonObjectInteraction::last_mutation_domain ( ) const
inline

◆ last_invalidation_domain()

MutationDomain yaze::editor::DungeonObjectInteraction::last_invalidation_domain ( ) const
inline

◆ SetRom()

◆ HandleCanvasMouseInput()

◆ CheckForObjectSelection()

void yaze::editor::DungeonObjectInteraction::CheckForObjectSelection ( )

◆ PlaceObjectAtPosition()

void yaze::editor::DungeonObjectInteraction::PlaceObjectAtPosition ( int room_x,
int room_y )

Definition at line 571 of file dungeon_object_interaction.cc.

◆ DrawSelectionHighlights()

◆ DrawHoverHighlight()

◆ DrawGhostPreview()

void yaze::editor::DungeonObjectInteraction::DrawGhostPreview ( )

◆ RoomToCanvasCoordinates()

std::pair< int, int > yaze::editor::DungeonObjectInteraction::RoomToCanvasCoordinates ( int room_x,
int room_y ) const

Definition at line 583 of file dungeon_object_interaction.cc.

◆ CanvasToRoomCoordinates()

std::pair< int, int > yaze::editor::DungeonObjectInteraction::CanvasToRoomCoordinates ( int canvas_x,
int canvas_y ) const

Definition at line 589 of file dungeon_object_interaction.cc.

Referenced by UpdateCollisionPainting().

◆ IsWithinCanvasBounds()

bool yaze::editor::DungeonObjectInteraction::IsWithinCanvasBounds ( int canvas_x,
int canvas_y,
int margin = 32 ) const

Definition at line 595 of file dungeon_object_interaction.cc.

◆ SetCurrentRoom()

void yaze::editor::DungeonObjectInteraction::SetCurrentRoom ( DungeonRoomStore * rooms,
int room_id )

◆ SetPreviewObject()

void yaze::editor::DungeonObjectInteraction::SetPreviewObject ( const zelda3::RoomObject & object,
bool loaded )

◆ SetCurrentPaletteGroup()

void yaze::editor::DungeonObjectInteraction::SetCurrentPaletteGroup ( const gfx::PaletteGroup & group)
inline

◆ mode_manager() [1/2]

◆ mode_manager() [2/2]

const InteractionModeManager & yaze::editor::DungeonObjectInteraction::mode_manager ( ) const
inline

Definition at line 122 of file dungeon_object_interaction.h.

References mode_manager_.

◆ IsObjectLoaded()

bool yaze::editor::DungeonObjectInteraction::IsObjectLoaded ( ) const
inline

◆ CancelPlacement()

void yaze::editor::DungeonObjectInteraction::CancelPlacement ( )

◆ SetDoorPlacementMode()

◆ IsDoorPlacementActive()

bool yaze::editor::DungeonObjectInteraction::IsDoorPlacementActive ( ) const
inline

◆ SetPreviewDoorType()

void yaze::editor::DungeonObjectInteraction::SetPreviewDoorType ( zelda3::DoorType type)
inline

Definition at line 137 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetModeState(), mode_manager_, and yaze::editor::ModeState::preview_door_type.

Here is the call graph for this function:

◆ GetPreviewDoorType()

zelda3::DoorType yaze::editor::DungeonObjectInteraction::GetPreviewDoorType ( ) const
inline

◆ CancelDoorPlacement()

void yaze::editor::DungeonObjectInteraction::CancelDoorPlacement ( )
inline

◆ SetSpritePlacementMode()

void yaze::editor::DungeonObjectInteraction::SetSpritePlacementMode ( bool enabled,
uint8_t sprite_id = 0 )

◆ IsSpritePlacementActive()

bool yaze::editor::DungeonObjectInteraction::IsSpritePlacementActive ( ) const
inline

Definition at line 152 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetMode(), mode_manager_, and yaze::editor::PlaceSprite.

Here is the call graph for this function:

◆ SetPreviewSpriteId()

void yaze::editor::DungeonObjectInteraction::SetPreviewSpriteId ( uint8_t id)
inline

Definition at line 155 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetModeState(), mode_manager_, and yaze::editor::ModeState::preview_sprite_id.

Here is the call graph for this function:

◆ GetPreviewSpriteId()

uint8_t yaze::editor::DungeonObjectInteraction::GetPreviewSpriteId ( ) const
inline

Definition at line 158 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetModeState(), mode_manager_, and yaze::editor::ModeState::preview_sprite_id.

Here is the call graph for this function:

◆ CancelSpritePlacement()

void yaze::editor::DungeonObjectInteraction::CancelSpritePlacement ( )
inline

◆ SetItemPlacementMode()

void yaze::editor::DungeonObjectInteraction::SetItemPlacementMode ( bool enabled,
uint8_t item_id = 0 )

◆ IsItemPlacementActive()

bool yaze::editor::DungeonObjectInteraction::IsItemPlacementActive ( ) const
inline

Definition at line 169 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetMode(), mode_manager_, and yaze::editor::PlaceItem.

Here is the call graph for this function:

◆ SetPreviewItemId()

void yaze::editor::DungeonObjectInteraction::SetPreviewItemId ( uint8_t id)
inline

Definition at line 172 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetModeState(), mode_manager_, and yaze::editor::ModeState::preview_item_id.

Here is the call graph for this function:

◆ GetPreviewItemId()

uint8_t yaze::editor::DungeonObjectInteraction::GetPreviewItemId ( ) const
inline

Definition at line 175 of file dungeon_object_interaction.h.

References yaze::editor::InteractionModeManager::GetModeState(), mode_manager_, and yaze::editor::ModeState::preview_item_id.

Here is the call graph for this function:

◆ CancelItemPlacement()

void yaze::editor::DungeonObjectInteraction::CancelItemPlacement ( )
inline

◆ GetSelectedObjectIndices()

◆ SetSelectedObjects()

◆ IsObjectSelectActive()

bool yaze::editor::DungeonObjectInteraction::IsObjectSelectActive ( ) const
inline

◆ ClearSelection()

void yaze::editor::DungeonObjectInteraction::ClearSelection ( )

◆ IsObjectSelected()

bool yaze::editor::DungeonObjectInteraction::IsObjectSelected ( size_t index) const
inline

Definition at line 199 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::IsObjectSelected(), and selection_.

Here is the call graph for this function:

◆ GetSelectionCount()

◆ SetSelectionChangeCallback()

void yaze::editor::DungeonObjectInteraction::SetSelectionChangeCallback ( std::function< void()> callback)
inline

Definition at line 205 of file dungeon_object_interaction.h.

References selection_, and yaze::editor::ObjectSelection::SetSelectionChangedCallback().

Referenced by yaze::editor::ObjectEditorContent::SetupSelectionCallbacks().

Here is the call graph for this function:

◆ HandleScrollWheelResize()

void yaze::editor::DungeonObjectInteraction::HandleScrollWheelResize ( )

Definition at line 873 of file dungeon_object_interaction.cc.

◆ NudgeSelected()

bool yaze::editor::DungeonObjectInteraction::NudgeSelected ( int delta_x,
int delta_y )

◆ HandleDeleteSelected()

◆ HandleDeleteAllObjects()

void yaze::editor::DungeonObjectInteraction::HandleDeleteAllObjects ( )

◆ HandleCopySelected()

void yaze::editor::DungeonObjectInteraction::HandleCopySelected ( )

◆ HandlePasteObjects()

void yaze::editor::DungeonObjectInteraction::HandlePasteObjects ( )

◆ HasClipboardData()

bool yaze::editor::DungeonObjectInteraction::HasClipboardData ( ) const
inline

◆ SetObjectId()

bool yaze::editor::DungeonObjectInteraction::SetObjectId ( size_t index,
int16_t id )

Definition at line 878 of file dungeon_object_interaction.cc.

◆ SetObjectSize()

bool yaze::editor::DungeonObjectInteraction::SetObjectSize ( size_t index,
uint8_t size )

Definition at line 884 of file dungeon_object_interaction.cc.

◆ SetObjectLayer()

bool yaze::editor::DungeonObjectInteraction::SetObjectLayer ( size_t index,
zelda3::RoomObject::LayerType layer )

Definition at line 890 of file dungeon_object_interaction.cc.

◆ CanAssignSelectedObjectsToLayer()

bool yaze::editor::DungeonObjectInteraction::CanAssignSelectedObjectsToLayer ( int target_layer) const

Definition at line 901 of file dungeon_object_interaction.cc.

References yaze::zelda3::UsesRoomObjectStream().

Here is the call graph for this function:

◆ SendSelectedToLayer()

bool yaze::editor::DungeonObjectInteraction::SendSelectedToLayer ( int target_layer)

Definition at line 924 of file dungeon_object_interaction.cc.

◆ SendSelectedToFront()

void yaze::editor::DungeonObjectInteraction::SendSelectedToFront ( )

◆ SendSelectedToBack()

void yaze::editor::DungeonObjectInteraction::SendSelectedToBack ( )

◆ BringSelectedForward()

void yaze::editor::DungeonObjectInteraction::BringSelectedForward ( )

Definition at line 942 of file dungeon_object_interaction.cc.

◆ SendSelectedBackward()

void yaze::editor::DungeonObjectInteraction::SendSelectedBackward ( )

Definition at line 947 of file dungeon_object_interaction.cc.

◆ SetLayerFilter()

void yaze::editor::DungeonObjectInteraction::SetLayerFilter ( int layer)
inline

Definition at line 251 of file dungeon_object_interaction.h.

References selection_, and yaze::editor::ObjectSelection::SetLayerFilter().

Here is the call graph for this function:

◆ GetLayerFilter()

int yaze::editor::DungeonObjectInteraction::GetLayerFilter ( ) const
inline

Definition at line 252 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::GetLayerFilter(), and selection_.

Here is the call graph for this function:

◆ IsLayerFilterActive()

bool yaze::editor::DungeonObjectInteraction::IsLayerFilterActive ( ) const
inline

Definition at line 253 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::IsLayerFilterActive(), and selection_.

Here is the call graph for this function:

◆ IsMaskModeActive()

bool yaze::editor::DungeonObjectInteraction::IsMaskModeActive ( ) const
inline

Definition at line 254 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::IsMaskModeActive(), and selection_.

Referenced by yaze::editor::DungeonCanvasViewer::DrawRoomCanvasContent().

Here is the call graph for this function:

◆ GetLayerFilterName()

const char * yaze::editor::DungeonObjectInteraction::GetLayerFilterName ( ) const
inline

Definition at line 255 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::GetLayerFilterName(), and selection_.

Here is the call graph for this function:

◆ SetLayersMerged()

void yaze::editor::DungeonObjectInteraction::SetLayersMerged ( bool merged)
inline

Definition at line 258 of file dungeon_object_interaction.h.

References selection_, and yaze::editor::ObjectSelection::SetLayersMerged().

Referenced by yaze::editor::DungeonCanvasViewer::DrawLayerControls().

Here is the call graph for this function:

◆ AreLayersMerged()

bool yaze::editor::DungeonObjectInteraction::AreLayersMerged ( ) const
inline

Definition at line 259 of file dungeon_object_interaction.h.

References yaze::editor::ObjectSelection::AreLayersMerged(), and selection_.

Here is the call graph for this function:

◆ HandleLayerKeyboardShortcuts()

void yaze::editor::DungeonObjectInteraction::HandleLayerKeyboardShortcuts ( )

Definition at line 952 of file dungeon_object_interaction.cc.

Referenced by HandleCanvasMouseInput().

◆ SetObjectPlacedCallback()

void yaze::editor::DungeonObjectInteraction::SetObjectPlacedCallback ( std::function< void(const zelda3::RoomObject &)> callback)
inline

Definition at line 265 of file dungeon_object_interaction.h.

References object_placed_callback_.

◆ SetCacheInvalidationCallback()

void yaze::editor::DungeonObjectInteraction::SetCacheInvalidationCallback ( std::function< void()> callback)
inline

◆ SetMutationCallback()

void yaze::editor::DungeonObjectInteraction::SetMutationCallback ( std::function< void()> callback)
inline

◆ SetEditorSystem()

void yaze::editor::DungeonObjectInteraction::SetEditorSystem ( zelda3::DungeonEditorSystem * system)
inline

◆ SelectEntity()

◆ ClearEntitySelection()

void yaze::editor::DungeonObjectInteraction::ClearEntitySelection ( )

◆ HasEntitySelection()

◆ GetSelectedEntity()

◆ DrawEntitySelectionHighlights()

void yaze::editor::DungeonObjectInteraction::DrawEntitySelectionHighlights ( )

◆ DrawDoorSnapIndicators()

void yaze::editor::DungeonObjectInteraction::DrawDoorSnapIndicators ( )

Definition at line 1066 of file dungeon_object_interaction.cc.

◆ SetEntityChangedCallback()

void yaze::editor::DungeonObjectInteraction::SetEntityChangedCallback ( std::function< void()> callback)
inline

◆ SetDoorPairNavigationCallback()

void yaze::editor::DungeonObjectInteraction::SetDoorPairNavigationCallback ( std::function< void(int, std::optional< size_t >, int, int)> callback)
inline

◆ GetCanvasTransform()

DungeonCanvasTransform yaze::editor::DungeonObjectInteraction::GetCanvasTransform ( ) const
inlineprivate

Definition at line 307 of file dungeon_object_interaction.h.

References canvas_, yaze::gui::Canvas::global_scale(), yaze::gui::Canvas::scrolling(), and yaze::gui::Canvas::zero_point().

Referenced by HandleCanvasMouseInput().

Here is the call graph for this function:

◆ CalculateObjectBounds()

std::pair< int, int > yaze::editor::DungeonObjectInteraction::CalculateObjectBounds ( const zelda3::RoomObject & object)
private

Definition at line 896 of file dungeon_object_interaction.cc.

References yaze::zelda3::DimensionService::Get(), and yaze::zelda3::DimensionService::GetPixelDimensions().

Here is the call graph for this function:

◆ HandleLeftClick()

◆ UpdateCollisionPainting()

◆ UpdateWaterFillPainting()

void yaze::editor::DungeonObjectInteraction::UpdateWaterFillPainting ( const ImVec2 & canvas_mouse_pos)
private

Definition at line 203 of file dungeon_object_interaction.cc.

Referenced by HandleCanvasMouseInput().

◆ HandleObjectSelectionStart()

void yaze::editor::DungeonObjectInteraction::HandleObjectSelectionStart ( const ImVec2 & canvas_mouse_pos)
private

Definition at line 264 of file dungeon_object_interaction.cc.

Referenced by HandleLeftClick().

◆ HandleEmptySpaceClick()

void yaze::editor::DungeonObjectInteraction::HandleEmptySpaceClick ( const ImVec2 & canvas_mouse_pos)
private

Definition at line 281 of file dungeon_object_interaction.cc.

Referenced by HandleLeftClick().

◆ HandleMouseRelease()

void yaze::editor::DungeonObjectInteraction::HandleMouseRelease ( )
private

Definition at line 300 of file dungeon_object_interaction.cc.

Referenced by HandleCanvasMouseInput().

◆ HandleKeyboardNudge()

bool yaze::editor::DungeonObjectInteraction::HandleKeyboardNudge ( )
private

Definition at line 332 of file dungeon_object_interaction.cc.

Referenced by HandleCanvasMouseInput().

◆ CopySelectedEntitiesToClipboard()

void yaze::editor::DungeonObjectInteraction::CopySelectedEntitiesToClipboard ( bool clipboard_origin_set)
private

Definition at line 702 of file dungeon_object_interaction.cc.

References yaze::editor::SelectedEntity::type.

◆ PasteEntityClipboardAt()

std::vector< SelectedEntity > yaze::editor::DungeonObjectInteraction::PasteEntityClipboardAt ( int target_pixel_x,
int target_pixel_y )
private

Definition at line 765 of file dungeon_object_interaction.cc.

Member Data Documentation

◆ canvas_

gui::Canvas* yaze::editor::DungeonObjectInteraction::canvas_
private

◆ editor_system_

zelda3::DungeonEditorSystem* yaze::editor::DungeonObjectInteraction::editor_system_ = nullptr
private

Definition at line 313 of file dungeon_object_interaction.h.

Referenced by SetEditorSystem().

◆ rooms_

DungeonRoomStore* yaze::editor::DungeonObjectInteraction::rooms_ = nullptr
private

Definition at line 314 of file dungeon_object_interaction.h.

Referenced by UpdateCollisionPainting().

◆ current_room_id_

int yaze::editor::DungeonObjectInteraction::current_room_id_ = 0
private

Definition at line 315 of file dungeon_object_interaction.h.

Referenced by UpdateCollisionPainting().

◆ interaction_context_

◆ entity_coordinator_

◆ mode_manager_

◆ preview_object_

zelda3::RoomObject yaze::editor::DungeonObjectInteraction::preview_object_ {0, 0, 0, 0, 0}
private

Definition at line 360 of file dungeon_object_interaction.h.

◆ current_palette_group_

gfx::PaletteGroup yaze::editor::DungeonObjectInteraction::current_palette_group_
private

Definition at line 363 of file dungeon_object_interaction.h.

Referenced by SetCurrentPaletteGroup().

◆ entity_clipboard_

EntityClipboard yaze::editor::DungeonObjectInteraction::entity_clipboard_
private

Definition at line 364 of file dungeon_object_interaction.h.

Referenced by HasClipboardData().

◆ selection_

◆ object_placed_callback_

std::function<void(const zelda3::RoomObject&) yaze::editor::DungeonObjectInteraction::object_placed_callback_)
private

Definition at line 370 of file dungeon_object_interaction.h.

Referenced by SetObjectPlacedCallback().


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