Work Life (Visual Novel / Game)
|
encapsulated minigame state More...
#include <minigame_state.h>
Public Member Functions | |
void | init () |
initialize the struct | |
void | on_success (minigame_game game) |
called when a minigame is completed successfully | |
void | on_failure (minigame_game game) |
called when a minigame is failed | |
void | weekly_reset () |
called when the week changes | |
Public Attributes | |
int | successes [minigame_count] |
meter used to measure progress in a minigame. used to represent difficulty | |
int | totals [minigame_count] |
absolute successes in a minigame. could be used to determine if zero work was completed | |
int | weekly_successes |
minigame total successes that is reset every week. used to display expectation during the week | |
encapsulated minigame state