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

#include <overworld_item.h>

Inheritance diagram for yaze::zelda3::OverworldItem:
Collaboration diagram for yaze::zelda3::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::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::zelda3::GameEntity
enum yaze::zelda3::GameEntity::EntityType entity_type_
 
int x_ = 0
 
int y_ = 0
 
int game_x_ = 0
 
int game_y_ = 0
 
int entity_id_ = 0
 
uint16_t map_id_ = 0
 

Additional Inherited Members

- Public Types inherited from yaze::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 21 of file overworld_item.h.

Constructor & Destructor Documentation

◆ OverworldItem() [1/2]

yaze::zelda3::OverworldItem::OverworldItem ( )
default

◆ OverworldItem() [2/2]

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

Member Function Documentation

◆ UpdateMapProperties()

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

Member Data Documentation

◆ bg2_

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

Definition at line 59 of file overworld_item.h.

Referenced by OverworldItem().

◆ id_

uint8_t yaze::zelda3::OverworldItem::id_

◆ game_x_

uint8_t yaze::zelda3::OverworldItem::game_x_

Definition at line 61 of file overworld_item.h.

Referenced by OverworldItem(), and UpdateMapProperties().

◆ game_y_

uint8_t yaze::zelda3::OverworldItem::game_y_

Definition at line 62 of file overworld_item.h.

Referenced by OverworldItem(), and UpdateMapProperties().

◆ room_map_id_

uint16_t yaze::zelda3::OverworldItem::room_map_id_

Definition at line 63 of file overworld_item.h.

Referenced by OverworldItem(), and UpdateMapProperties().

◆ unique_id

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

Definition at line 64 of file overworld_item.h.

◆ deleted

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

Definition at line 65 of file overworld_item.h.

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


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