Raylib Bubbles
C++11 Raylib bubble shooter game.
GameHUD::ArrowPiece Struct Reference

Represents a texture of the bubble shooter the player controls. More...

#include <hud.hpp>

Public Attributes

Texture2D tex
 
float x
 
float y
 
float w
 
float h
 
float angle
 

Detailed Description

Represents a texture of the bubble shooter the player controls.

Parameters
texThe texture of the piece.
xThe x position of the piece on the game window.
yThe y position of the piece on the game window.
wThe width of the piece.
hThe height of the piece.
angleThe angle of the piece, in radians.

This struct holds information about each texture of the "arrow" which controls how the bubbles are shot.

Warning
These coordinates are centered in the CENTER OF THE TEXTURES, unlike everything else in the game!
See also
Arrow

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