1#ifndef YAZE_APP_EDITOR_DUNGEON_INTERACTION_INTERACTION_CONTEXT_H_
2#define YAZE_APP_EDITOR_DUNGEON_INTERACTION_INTERACTION_CONTEXT_H_
36 std::array<zelda3::Room, dungeon_coords::kRoomCount>*
rooms =
nullptr;
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Modern, robust canvas for drawing and manipulating graphics.
bool IsValidRoomId(int room_id)
Validate room ID is within valid range.
Shared context for all interaction handlers.
std::function< void()> on_invalidate_cache
const zelda3::Room * GetCurrentRoomConst() const
Get const pointer to current room.
void NotifyEntityChanged() const
Notify that entity has changed.
std::array< zelda3::Room, dungeon_coords::kRoomCount > * rooms
bool IsValid() const
Check if context has required dependencies.
void NotifySelectionChanged() const
Notify that selection has changed.
void NotifyInvalidateCache() const
Notify that cache invalidation is needed.
std::function< void()> on_mutation
zelda3::Room * GetCurrentRoom() const
Get pointer to current room.
gfx::PaletteGroup current_palette_group
void NotifyMutation() const
Notify that a mutation is about to happen.
std::function< void()> on_entity_changed
std::function< void()> on_selection_changed
Represents a group of palettes.