yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::ObjectDrawer::DoorDef Struct Reference

#include <object_drawer.h>

Public Member Functions

std::pair< int, int > GetTileCoords () const
 
DoorDimensions GetDimensions () const
 

Public Attributes

DoorType type
 
DoorDirection direction
 
uint8_t position
 

Detailed Description

Definition at line 55 of file object_drawer.h.

Member Function Documentation

◆ GetTileCoords()

std::pair< int, int > yaze::zelda3::ObjectDrawer::DoorDef::GetTileCoords ( ) const
inline

Definition at line 61 of file object_drawer.h.

References direction, position, and yaze::zelda3::DoorPositionManager::PositionToTileCoords().

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

Here is the call graph for this function:

◆ GetDimensions()

DoorDimensions yaze::zelda3::ObjectDrawer::DoorDef::GetDimensions ( ) const
inline

Definition at line 66 of file object_drawer.h.

References direction, and yaze::zelda3::GetDoorDimensions().

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

Here is the call graph for this function:

Member Data Documentation

◆ type

DoorType yaze::zelda3::ObjectDrawer::DoorDef::type

◆ direction

DoorDirection yaze::zelda3::ObjectDrawer::DoorDef::direction

◆ position

uint8_t yaze::zelda3::ObjectDrawer::DoorDef::position

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