#include <overworld_entrance.h>
Public Member Functions | |
OverworldEntrance ()=default | |
OverworldEntrance (int x, int y, uint8_t entrance_id, short map_id, uint16_t map_pos, bool hole) | |
void | UpdateMapProperties (uint16_t 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 | |
uint16_t | map_pos_ |
uint8_t | entrance_id_ |
uint8_t | area_x_ |
uint8_t | area_y_ |
bool | is_hole_ = false |
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 49 of file overworld_entrance.h.
|
default |
|
inline |
Definition at line 59 of file overworld_entrance.h.
References area_x_, area_y_, yaze::zelda3::GameEntity::entity_id_, yaze::zelda3::GameEntity::entity_type_, entrance_id_, is_hole_, yaze::zelda3::GameEntity::kEntrance, yaze::zelda3::GameEntity::map_id_, map_pos_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
|
inlineoverridevirtual |
Implements yaze::zelda3::GameEntity.
Definition at line 74 of file overworld_entrance.h.
References area_x_, area_y_, yaze::zelda3::GameEntity::map_id_, map_pos_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
uint16_t yaze::zelda3::OverworldEntrance::map_pos_ |
Definition at line 51 of file overworld_entrance.h.
Referenced by OverworldEntrance(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldEntrance::entrance_id_ |
Definition at line 52 of file overworld_entrance.h.
Referenced by yaze::editor::DrawOverworldEntrancePopup(), and OverworldEntrance().
uint8_t yaze::zelda3::OverworldEntrance::area_x_ |
Definition at line 53 of file overworld_entrance.h.
Referenced by OverworldEntrance(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldEntrance::area_y_ |
Definition at line 54 of file overworld_entrance.h.
Referenced by OverworldEntrance(), and UpdateMapProperties().
bool yaze::zelda3::OverworldEntrance::is_hole_ = false |
Definition at line 55 of file overworld_entrance.h.
Referenced by OverworldEntrance().
bool yaze::zelda3::OverworldEntrance::deleted = false |
Definition at line 56 of file overworld_entrance.h.
Referenced by yaze::editor::DrawOverworldEntrancePopup().