summaryrefslogtreecommitdiff
path: root/src/states/titleState.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/states/titleState.h')
-rw-r--r--src/states/titleState.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/states/titleState.h b/src/states/titleState.h
new file mode 100644
index 0000000..8b914d8
--- /dev/null
+++ b/src/states/titleState.h
@@ -0,0 +1,14 @@
+#ifndef STATES_TITLESTATE_H
+#define STATES_TITLESTATE_H
+
+#include "../states.h"
+
+class TitleState : public State{
+ public:
+ TitleState(StateStack &stack, State::Context context);
+ virtual void update(sf::Time dt) override;
+ virtual void render() override;
+ virtual void handleEvent(const sf::Event &event) override;
+};
+
+#endif // STATES_TITLESTATE_H