-
Notifications
You must be signed in to change notification settings - Fork 0
/
HowToPlayMenuState.h
48 lines (42 loc) · 1.53 KB
/
HowToPlayMenuState.h
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
47
48
//////////////////////////////////////////////////////////////////////////
// Filename : HowToPlayMenuState.h
//
// Author : Ramon Johannessen (RJ)
//
// Purpose : The How to Play Menu will display information on how to
// play the game.
//////////////////////////////////////////////////////////////////////////
#ifndef HOWTOPLAYMENUSTATE_H
#define HOWTOPLAYMENUSTATE_H
#include "basemenustate.h"
class CHowToPlayMenuState : public CBaseMenuState
{
private:
// proper singleton
CHowToPlayMenuState(void);
~CHowToPlayMenuState(void);
CHowToPlayMenuState(const CHowToPlayMenuState &);
CHowToPlayMenuState& operator= (const CHowToPlayMenuState&);
public:
//////////////////////////////////////////////////////////////////////////
// Function : GetInstance
//
// Purpose : Return the only instance of this object
//////////////////////////////////////////////////////////////////////////
CHowToPlayMenuState* GetInstance();
//////////////////////////////////////////////////////////////////////////
// Function : Render
//
// Purpose : Render the How To Play menu
//////////////////////////////////////////////////////////////////////////
void Render();
//////////////////////////////////////////////////////////////////////////
// Function : Input
//
// Purpose : Handle any user input for this menu state, mouse or keyboard
//
// Return : true/false, false if we are exiting the game
//////////////////////////////////////////////////////////////////////////
bool Input();
};
#endif