pokeheartgold/src/menu_input_state.c
2024-10-20 09:40:16 -04:00

16 lines
490 B
C

#include "menu_input_state.h"
#include "global.h"
#include "gf_gfx_loader.h"
MenuInputState MenuInputStateMgr_GetState(MenuInputStateMgr *stateMgr) {
GF_ASSERT(stateMgr->state == MENU_INPUT_STATE_BUTTONS || stateMgr->state == MENU_INPUT_STATE_TOUCH);
return stateMgr->state;
}
void MenuInputStateMgr_SetState(MenuInputStateMgr *stateMgr, MenuInputState state) {
GF_ASSERT(state == MENU_INPUT_STATE_BUTTONS || state == MENU_INPUT_STATE_TOUCH);
stateMgr->state = state;
}