Raylib Bubbles
C++11 Raylib bubble shooter game.
PlacedBoard::BoardDims Struct Reference

Describes the offset and scale of the board in reference to the window. More...

#include <pboard.hpp>

Public Attributes

float x
 
float y
 
float viewportWidth
 
float viewportHeight
 
float radius
 

Detailed Description

Describes the offset and scale of the board in reference to the window.

Note
The x and y coordinates set the top-left position of the board in reference to the window. Relative coordinates asked by other methods will use this as the origin. Radius determines the size of the bubbles of the board, thus can be used to calculate the width and height of the board.
See also
getWidth(), getHeight()

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