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

Simple rectangle for selection bounds. More...

#include <object_geometry.h>

Public Member Functions

int width_pixels () const
 
int height_pixels () const
 

Public Attributes

int x_tiles = 0
 
int y_tiles = 0
 
int width_tiles = 0
 
int height_tiles = 0
 

Detailed Description

Simple rectangle for selection bounds.

Definition at line 19 of file object_geometry.h.

Member Function Documentation

◆ width_pixels()

int yaze::zelda3::SelectionRect::width_pixels ( ) const
inline

Definition at line 25 of file object_geometry.h.

References width_tiles.

◆ height_pixels()

int yaze::zelda3::SelectionRect::height_pixels ( ) const
inline

Definition at line 26 of file object_geometry.h.

References height_tiles.

Member Data Documentation

◆ x_tiles

int yaze::zelda3::SelectionRect::x_tiles = 0

◆ y_tiles

int yaze::zelda3::SelectionRect::y_tiles = 0

◆ width_tiles

int yaze::zelda3::SelectionRect::width_tiles = 0

◆ height_tiles

int yaze::zelda3::SelectionRect::height_tiles = 0

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