#include <overworld.h>
Public Member Functions | |
OverworldEntrance ()=default | |
OverworldEntrance (int x, int y, uchar entrance_id, short map_id, uint16_t map_pos, bool hole) | |
void | UpdateMapProperties (uint16_t 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 | |
uint16_t | map_pos_ |
uchar | entrance_id_ |
uchar | area_x_ |
uchar | area_y_ |
bool | is_hole_ = false |
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 343 of file overworld.h.
|
default |
|
inline |
Definition at line 353 of file overworld.h.
References area_x_, area_y_, yaze::app::zelda3::GameEntity::entity_id_, yaze::app::zelda3::GameEntity::entity_type_, yaze::app::zelda3::GameEntity::kEntrance, 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 368 of file overworld.h.
References area_x_, area_y_, yaze::app::zelda3::GameEntity::map_id_, map_pos_, yaze::app::zelda3::GameEntity::x_, and yaze::app::zelda3::GameEntity::y_.
uint16_t yaze::app::zelda3::overworld::OverworldEntrance::map_pos_ |
Definition at line 345 of file overworld.h.
Referenced by UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldEntrance::entrance_id_ |
Definition at line 346 of file overworld.h.
Referenced by yaze::app::editor::DrawOverworldEntrancePopup().
uchar yaze::app::zelda3::overworld::OverworldEntrance::area_x_ |
Definition at line 347 of file overworld.h.
Referenced by OverworldEntrance(), and UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldEntrance::area_y_ |
Definition at line 348 of file overworld.h.
Referenced by OverworldEntrance(), and UpdateMapProperties().
bool yaze::app::zelda3::overworld::OverworldEntrance::is_hole_ = false |
Definition at line 349 of file overworld.h.
bool yaze::app::zelda3::overworld::OverworldEntrance::deleted = false |
Definition at line 350 of file overworld.h.
Referenced by yaze::app::editor::DrawOverworldEntrancePopup().