-
Notifications
You must be signed in to change notification settings - Fork 5
/
PlayState.h
40 lines (35 loc) · 866 Bytes
/
PlayState.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
#ifndef PLAY_STATE_H
#define PLAY_STATE_H
#include "GameState.h"
#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/freeglut_ext.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <iostream> // cout
#include <stdlib.h> // rand, srand
#include <time.h> // time
#include <math.h> // floor
#include "Player.h"
#include "Shaders.h"
#include "Camera.h"
#include "Maze.h"
#include "Keyboard.h"
#include "Mouse.h"
class PlayState: public GameState {
private:
Player player;
Mouse mouse;
public:
void enter();
void leave();
void update();
void render();
void changeSize(int w, int h);
void keyboardDown(unsigned char key, int x, int y);
void keyboardUp(unsigned char key, int x, int y);
void mousePress(int button, int state, int x, int y);
void mouseMove(int x, int y);
};
#endif