#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 | |
| virtual | ~GameEntity () |
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 41 of file overworld_item.h.
|
default |
|
inline |
Definition at line 44 of file overworld_item.h.
References yaze::zelda3::GameEntity::entity_id_, yaze::zelda3::GameEntity::entity_type_, game_x_, game_y_, yaze::zelda3::GameEntity::kItem, yaze::zelda3::GameEntity::map_id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
|
inlineoverridevirtual |
Implements yaze::zelda3::GameEntity.
Definition at line 59 of file overworld_item.h.
References game_x_, game_y_, room_map_id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
| bool yaze::zelda3::OverworldItem::bg2_ = false |
Definition at line 73 of file overworld_item.h.
| uint8_t yaze::zelda3::OverworldItem::id_ |
Definition at line 74 of file overworld_item.h.
Referenced by yaze::zelda3::CompareOverworldItems(), and yaze::editor::DrawItemEditorPopup().
| uint8_t yaze::zelda3::OverworldItem::game_x_ |
Definition at line 75 of file overworld_item.h.
Referenced by yaze::editor::InsertItem(), OverworldItem(), and UpdateMapProperties().
| uint8_t yaze::zelda3::OverworldItem::game_y_ |
Definition at line 76 of file overworld_item.h.
Referenced by yaze::editor::InsertItem(), OverworldItem(), and UpdateMapProperties().
| uint16_t yaze::zelda3::OverworldItem::room_map_id_ |
Definition at line 77 of file overworld_item.h.
Referenced by UpdateMapProperties().
| int yaze::zelda3::OverworldItem::unique_id = 0 |
Definition at line 78 of file overworld_item.h.
| bool yaze::zelda3::OverworldItem::deleted = false |
Definition at line 79 of file overworld_item.h.
Referenced by yaze::editor::DrawItemEditorPopup().