Raylib Bubbles
C++11 Raylib bubble shooter game.
|
The data structure used to handle the player's arrow. More...
#include <hud.hpp>
Public Attributes | |
std::array< ArrowPiece, 3 > | pieces |
float | direction |
float | scale |
The data structure used to handle the player's arrow.
pieces | The pieces of the arrow, hardcoded amount. |
direction | The direction of the arrow, in radians and zeroed to the upwards direction. |
scale | The scale of the arrow. |
This struct holds information about the arrow that the player controls to shoot bubbles. The arrow is currently set to hold exactly three pieces: the core, the tip, and the spring, in that order. Indexing the pieces array of ArrowPiece will give you the corresponding piece information.