45 lines
798 B
C++
45 lines
798 B
C++
/*
|
|
* =====================================================================================
|
|
*
|
|
* Filename: GameState.hpp
|
|
*
|
|
* Description:
|
|
*
|
|
* Created: 15/12/2014 03:51:32
|
|
*
|
|
* Author: Quentin BAZIN, <quent42340@gmail.com>
|
|
*
|
|
* =====================================================================================
|
|
*/
|
|
#ifndef GAMESTATE_HPP_
|
|
#define GAMESTATE_HPP_
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
#include "ApplicationState.hpp"
|
|
#include "Camera.hpp"
|
|
#include "Skybox.hpp"
|
|
#include "World.hpp"
|
|
|
|
class GameState : public ApplicationState {
|
|
public:
|
|
GameState();
|
|
|
|
void update();
|
|
|
|
void draw();
|
|
|
|
private:
|
|
glm::mat4 m_projectionMatrix;
|
|
glm::mat4 m_viewMatrix;
|
|
|
|
Camera &m_camera;
|
|
|
|
Shader m_shader;
|
|
|
|
Skybox m_skybox;
|
|
World m_world;
|
|
};
|
|
|
|
#endif // GAMESTATE_HPP_
|