Brick Game v1.0
Implementation of the game Tetris in the C programming language with a terminal user interface.
|
CLI View responsible for rendering the game information to the screen. More...
#include <view.h>
Public Member Functions | |
CliView | cli_view_create (void) |
Create the CLI View. | |
void | cli_view_update (CliView *view, GameInfo game_info) |
Rerender the view with the new model. | |
void | cli_view_destroy (CliView view) |
Destroy the CLI View. | |
Data Fields | |
WINDOW * | field_win |
WINDOW * | side_win |
WINDOW * | next_win |
WINDOW * | start_win |
WINDOW * | game_over_win |
WINDOW * | pause_win |
WINDOW * | controls_win |
WINDOW * | top_score_win |
WINDOW * | score_win |
WINDOW * | level_win |
WINDOW * | speed_win |
uint32_t | frame_count |
Frame counter. | |
CLI View responsible for rendering the game information to the screen.
uint32_t CliView::frame_count |
Frame counter.
Used for timing blinking elements.