#include <overworld.h>
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 } |
Definition at line 75 of file overworld.h.
|
default |
|
inline |
Definition at line 86 of file overworld.h.
References yaze::app::zelda3::GameEntity::entity_id_, yaze::app::zelda3::GameEntity::entity_type_, game_x_, game_y_, yaze::app::zelda3::GameEntity::kItem, yaze::app::zelda3::GameEntity::map_id_, yaze::app::zelda3::GameEntity::x_, and yaze::app::zelda3::GameEntity::y_.
|
inlineoverridevirtual |
Implements yaze::app::zelda3::GameEntity.
Definition at line 103 of file overworld.h.
References game_x_, game_y_, id_, room_map_id_, yaze::app::zelda3::GameEntity::x_, and yaze::app::zelda3::GameEntity::y_.
bool yaze::app::zelda3::overworld::OverworldItem::bg2_ = false |
Definition at line 77 of file overworld.h.
uint8_t yaze::app::zelda3::overworld::OverworldItem::id_ |
Definition at line 78 of file overworld.h.
Referenced by yaze::app::editor::DrawItemEditorPopup(), and UpdateMapProperties().
uint8_t yaze::app::zelda3::overworld::OverworldItem::game_x_ |
Definition at line 79 of file overworld.h.
Referenced by OverworldItem(), and UpdateMapProperties().
uint8_t yaze::app::zelda3::overworld::OverworldItem::game_y_ |
Definition at line 80 of file overworld.h.
Referenced by OverworldItem(), and UpdateMapProperties().
uint16_t yaze::app::zelda3::overworld::OverworldItem::room_map_id_ |
Definition at line 81 of file overworld.h.
Referenced by UpdateMapProperties().
int yaze::app::zelda3::overworld::OverworldItem::unique_id = 0 |
Definition at line 82 of file overworld.h.
bool yaze::app::zelda3::overworld::OverworldItem::deleted = false |
Definition at line 83 of file overworld.h.
Referenced by yaze::app::editor::DrawItemEditorPopup().