GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
joker_row.h
Go to the documentation of this file.
1
7#ifndef GAME_JOKER_ROW_H
8#define GAME_JOKER_ROW_H
9
10#include "selection_grid.h"
11
19
32 SelectionGrid* selection_grid,
33 int row_idx,
34 const Selection* prev_selection,
35 const Selection* new_selection
36);
37
45void jokers_sel_row_on_key_transit(SelectionGrid* selection_grid, Selection* selection);
46
47#endif // GAME_JOKER_ROW_H
bool jokers_sel_row_on_selection_changed(SelectionGrid *selection_grid, int row_idx, const Selection *prev_selection, const Selection *new_selection)
Handle directional inputs on the Jokers' row at the top of the game screen.
Definition joker_row.c:16
void jokers_sel_row_on_key_transit(SelectionGrid *selection_grid, Selection *selection)
Handle button inputs on the Jokers' row at the top of the game screen.
Definition joker_row.c:100
int jokers_sel_row_get_size(void)
Returns the size of the Jokers' row at the top of the game screen. Is equal to the number of Jokers o...
Definition joker_row.c:11
An implementation for a selection grid that handles directional selection.
The core selection grid struct, represents the grid itself and its state.