yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::zelda3::overworld::OverworldItem Class Reference

#include <overworld.h>

Inheritance diagram for yaze::app::zelda3::overworld::OverworldItem:
Collaboration diagram for yaze::app::zelda3::overworld::OverworldItem:

Public Member Functions

 OverworldItem ()=default
 
 OverworldItem (uint8_t id, uint16_t room_map_id, int x, int y, bool bg2)
 
void UpdateMapProperties (uint16_t room_map_id) override
 
- Public Member Functions inherited from yaze::app::zelda3::GameEntity
auto set_x (int x)
 
auto set_y (int y)
 
 GameEntity ()=default
 

Public Attributes

bool bg2_ = false
 
uint8_t id_
 
uint8_t game_x_
 
uint8_t game_y_
 
uint16_t room_map_id_
 
int unique_id = 0
 
bool deleted = false
 
- Public Attributes inherited from yaze::app::zelda3::GameEntity
enum yaze::app::zelda3::GameEntity::EntityType entity_type_
 
int x_
 
int y_
 
int game_x_
 
int game_y_
 
int entity_id_
 
uint16_t map_id_
 

Additional Inherited Members

- Public Types inherited from yaze::app::zelda3::GameEntity
enum  EntityType {
  kEntrance = 0 , kExit = 1 , kItem = 2 , kSprite = 3 ,
  kTransport = 4 , kMusic = 5 , kTilemap = 6 , kProperties = 7 ,
  kDungeonSprite = 8
}
 

Detailed Description

Definition at line 78 of file overworld.h.

Constructor & Destructor Documentation

◆ OverworldItem() [1/2]

yaze::app::zelda3::overworld::OverworldItem::OverworldItem ( )
default

◆ OverworldItem() [2/2]

yaze::app::zelda3::overworld::OverworldItem::OverworldItem ( uint8_t id,
uint16_t room_map_id,
int x,
int y,
bool bg2 )
inline

Member Function Documentation

◆ UpdateMapProperties()

void yaze::app::zelda3::overworld::OverworldItem::UpdateMapProperties ( uint16_t room_map_id)
inlineoverridevirtual

Member Data Documentation

◆ bg2_

bool yaze::app::zelda3::overworld::OverworldItem::bg2_ = false

Definition at line 80 of file overworld.h.

◆ id_

uint8_t yaze::app::zelda3::overworld::OverworldItem::id_

Definition at line 81 of file overworld.h.

Referenced by yaze::app::editor::DrawItemEditorPopup(), and UpdateMapProperties().

◆ game_x_

uint8_t yaze::app::zelda3::overworld::OverworldItem::game_x_

Definition at line 82 of file overworld.h.

Referenced by OverworldItem(), and UpdateMapProperties().

◆ game_y_

uint8_t yaze::app::zelda3::overworld::OverworldItem::game_y_

Definition at line 83 of file overworld.h.

Referenced by OverworldItem(), and UpdateMapProperties().

◆ room_map_id_

uint16_t yaze::app::zelda3::overworld::OverworldItem::room_map_id_

Definition at line 84 of file overworld.h.

Referenced by UpdateMapProperties().

◆ unique_id

int yaze::app::zelda3::overworld::OverworldItem::unique_id = 0

Definition at line 85 of file overworld.h.

◆ deleted

bool yaze::app::zelda3::overworld::OverworldItem::deleted = false

Definition at line 86 of file overworld.h.

Referenced by yaze::app::editor::DrawItemEditorPopup().


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