Raylib Bubbles
C++11 Raylib bubble shooter game.
GameBoard::BubbleEventVector::BubbleEvent Struct Reference

Wraps the row and column of a bubble on the board with its hue. More...

#include <board.hpp>

Public Member Functions

 BubbleEvent (size_t row, size_t col, size_t hue)
 Constructs a BubbleEvent instance with the given hue, row, and column. More...
 

Public Attributes

const size_t row
 
const size_t col
 
const size_t hue
 

Detailed Description

Wraps the row and column of a bubble on the board with its hue.

Note
This is NOT the struct used internally to keep track of bubbles on the board.

Constructor & Destructor Documentation

◆ BubbleEvent()

GameBoard::BubbleEventVector::BubbleEvent::BubbleEvent ( size_t  row,
size_t  col,
size_t  hue 
)
inline

Constructs a BubbleEvent instance with the given hue, row, and column.

Parameters
rowThe row position of the bubble on the board.
colThe column position of the bubble on the board.
hueThe hue of the bubble.

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