#include "globals.h" #include "gameSequence.h" void UpdateTitle(GAME_STATE& _state) { if (MouseL.down()) { _state = GAME_STATE::PLAY; } } void DrawTitle() { Scene::SetBackground(Palette::Black); FontAsset(U"font")(U"TITLE_SCENE").drawAt(Scene::Center()); } void UpdatePlay(GAME_STATE& _state) { if (MouseL.down()) { _state = GAME_STATE::CLEAR; } } void DrawPlay() { Scene::SetBackground(Palette::Black); FontAsset(U"font")(U"PLAY_SCENE").drawAt(Scene::Center()); } void UpdateClear(GAME_STATE& _state) { if (MouseL.down()) { _state = GAME_STATE::TITLE; } } void DrawClear() { Scene::SetBackground(Palette::Black); FontAsset(U"font")(U"CLEAR_SCENE").drawAt(Scene::Center()); }