#include <overworld_item.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::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 } |
Definition at line 21 of file overworld_item.h.
|
default |
|
inline |
Definition at line 24 of file overworld_item.h.
References bg2_, yaze::zelda3::GameEntity::entity_id_, yaze::zelda3::GameEntity::entity_type_, game_x_, game_y_, id_, yaze::zelda3::GameEntity::kItem, yaze::zelda3::GameEntity::map_id_, room_map_id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
|
inlineoverridevirtual |
Implements yaze::zelda3::GameEntity.
Definition at line 39 of file overworld_item.h.
References game_x_, game_y_, id_, room_map_id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
bool yaze::zelda3::OverworldItem::bg2_ = false |
Definition at line 59 of file overworld_item.h.
Referenced by OverworldItem().
uint8_t yaze::zelda3::OverworldItem::id_ |
Definition at line 60 of file overworld_item.h.
Referenced by yaze::editor::DrawItemEditorPopup(), OverworldItem(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldItem::game_x_ |
Definition at line 61 of file overworld_item.h.
Referenced by OverworldItem(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldItem::game_y_ |
Definition at line 62 of file overworld_item.h.
Referenced by OverworldItem(), and UpdateMapProperties().
uint16_t yaze::zelda3::OverworldItem::room_map_id_ |
Definition at line 63 of file overworld_item.h.
Referenced by OverworldItem(), and UpdateMapProperties().
int yaze::zelda3::OverworldItem::unique_id = 0 |
Definition at line 64 of file overworld_item.h.
bool yaze::zelda3::OverworldItem::deleted = false |
Definition at line 65 of file overworld_item.h.
Referenced by yaze::editor::DrawItemEditorPopup().