summary refs log tree commit diff stats
path: root/titlestate.h
blob: 22c99f50230ee95c05d7f3710d7d07f976d56668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef TITLESTATE_H
#define TITLESTATE_H

#include <memory>

#include "mazeoflife.h"
#include "sdl.h"
#include "state.h"

class TitleState : public State {
 public:
  explicit TitleState(Game& game);

  std::unique_ptr<State> operator()(Game& game);

 private:
  texture_ptr background_;
  texture_ptr pointer_;
  int selection_ = 0;
};

class HowToPlayState : public State {
 public:
  explicit HowToPlayState(Game& game);

  std::unique_ptr<State> operator()(Game& game);

 private:
  texture_ptr background_;
  texture_ptr pointer_;
  int selection_ = 0;
};

class HowToPlayPageTwoState : public State {
 public:
  explicit HowToPlayPageTwoState(Game& game);

  std::unique_ptr<State> operator()(Game& game);

 private:
  texture_ptr background_;
  texture_ptr pointer_;
  int selection_ = 0;
};

#endif