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

#include <dungeon_selection_snapshot.h>

Collaboration diagram for yaze::editor::DungeonSelectionSnapshot:

Public Member Functions

bool HasSelection () const
 
bool HasObjectSelection () const
 
bool HasEntitySelection () const
 
bool HasMixedSelection () const
 

Public Attributes

DungeonSelectionKind kind = DungeonSelectionKind::None
 
size_t count = 0
 
size_t object_count = 0
 
size_t door_count = 0
 
size_t sprite_count = 0
 
size_t item_count = 0
 
int selection_layer = -1
 
std::optional< size_t > primary_object_index
 
SelectedEntity entity {}
 

Detailed Description

Definition at line 25 of file dungeon_selection_snapshot.h.

Member Function Documentation

◆ HasSelection()

bool yaze::editor::DungeonSelectionSnapshot::HasSelection ( ) const
inline

◆ HasObjectSelection()

◆ HasEntitySelection()

bool yaze::editor::DungeonSelectionSnapshot::HasEntitySelection ( ) const
inline

Definition at line 41 of file dungeon_selection_snapshot.h.

References door_count, item_count, and sprite_count.

◆ HasMixedSelection()

bool yaze::editor::DungeonSelectionSnapshot::HasMixedSelection ( ) const
inline

Definition at line 44 of file dungeon_selection_snapshot.h.

References yaze::editor::EntityMulti, kind, and yaze::editor::Mixed.

Member Data Documentation

◆ kind

◆ count

◆ object_count

◆ door_count

size_t yaze::editor::DungeonSelectionSnapshot::door_count = 0

◆ sprite_count

◆ item_count

◆ selection_layer

int yaze::editor::DungeonSelectionSnapshot::selection_layer = -1

◆ primary_object_index

std::optional<size_t> yaze::editor::DungeonSelectionSnapshot::primary_object_index

◆ entity

SelectedEntity yaze::editor::DungeonSelectionSnapshot::entity {}

The documentation for this struct was generated from the following file: