yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::zelda3::overworld::OverworldEntrance Class Reference

#include <overworld.h>

Inheritance diagram for yaze::app::zelda3::overworld::OverworldEntrance:
Collaboration diagram for yaze::app::zelda3::overworld::OverworldEntrance:

Public Member Functions

 OverworldEntrance ()=default
 
 OverworldEntrance (int x, int y, uchar entrance_id, short map_id, uint16_t map_pos, bool hole)
 
auto Copy ()
 
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
}
 

Detailed Description

Definition at line 332 of file overworld.h.

Constructor & Destructor Documentation

◆ OverworldEntrance() [1/2]

yaze::app::zelda3::overworld::OverworldEntrance::OverworldEntrance ( )
default

Referenced by Copy().

◆ OverworldEntrance() [2/2]

yaze::app::zelda3::overworld::OverworldEntrance::OverworldEntrance ( int x,
int y,
uchar entrance_id,
short map_id,
uint16_t map_pos,
bool hole )
inline

Member Function Documentation

◆ Copy()

auto yaze::app::zelda3::overworld::OverworldEntrance::Copy ( )
inline

◆ UpdateMapProperties()

void yaze::app::zelda3::overworld::OverworldEntrance::UpdateMapProperties ( uint16_t map_id)
inlineoverridevirtual

Member Data Documentation

◆ map_pos_

uint16_t yaze::app::zelda3::overworld::OverworldEntrance::map_pos_

Definition at line 334 of file overworld.h.

Referenced by Copy(), and UpdateMapProperties().

◆ entrance_id_

uchar yaze::app::zelda3::overworld::OverworldEntrance::entrance_id_

Definition at line 335 of file overworld.h.

Referenced by Copy(), and yaze::app::editor::DrawOverworldEntrancePopup().

◆ area_x_

uchar yaze::app::zelda3::overworld::OverworldEntrance::area_x_

Definition at line 336 of file overworld.h.

Referenced by OverworldEntrance(), and UpdateMapProperties().

◆ area_y_

uchar yaze::app::zelda3::overworld::OverworldEntrance::area_y_

Definition at line 337 of file overworld.h.

Referenced by OverworldEntrance(), and UpdateMapProperties().

◆ is_hole_

bool yaze::app::zelda3::overworld::OverworldEntrance::is_hole_ = false

Definition at line 338 of file overworld.h.

Referenced by Copy().

◆ deleted

bool yaze::app::zelda3::overworld::OverworldEntrance::deleted = false

Definition at line 339 of file overworld.h.

Referenced by yaze::app::editor::DrawOverworldEntrancePopup().


The documentation for this class was generated from the following file: