mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-08-28 13:34:05 -05:00
24 lines
632 B
C++
24 lines
632 B
C++
#pragma once
|
|
#include "AppStates/AppState.hpp"
|
|
#include "SDL.hpp"
|
|
|
|
class MainMenuState : public AppState
|
|
{
|
|
public:
|
|
MainMenuState(void);
|
|
~MainMenuState() {};
|
|
|
|
void Update(void);
|
|
void Render(void);
|
|
|
|
private:
|
|
// The render target.
|
|
SDL::SharedTexture m_RenderTarget = nullptr;
|
|
// Background of the menu.
|
|
SDL::SharedTexture m_Background = nullptr;
|
|
// Pointer to control guide string so I don't need to call and fetch it every loop.
|
|
const char *m_ControlGuide = nullptr;
|
|
// X coordinate to render controls at.
|
|
int m_ControlGuideX;
|
|
};
|