-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCore.hpp
56 lines (48 loc) · 1.15 KB
/
Core.hpp
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
49
50
51
52
53
54
55
#ifndef __BOMBER_HPP__
#define __BOMBER_HPP__
#include <cstdlib>
#include <Game.hh>
#include <Clock.hh>
#include <Input.hh>
#include <string>
//Permet d'inclure la SDL 2
#include <SdlContext.hh>
#include <Geometry.hh>
#include <Texture.hh>
#include <BasicShader.hh>
#include <Model.hh>
#include <sstream>
#include <OpenGL.hh>
// Inclus la bibliotheque de mathematiques
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "AObject.hpp"
#include "Cube.hpp"
#include "Map.hpp"
#include "CoreMap.hpp"
#include "Menu.hpp"
#include "Marvin.hpp"
class Core : public gdl::Game
{
public:
Core();
~Core();
virtual bool initialize();
virtual bool update();
virtual void draw();
bool start(void);
private:
gdl::Clock _clock;
gdl::Input _input;
gdl::SdlContext _context;
gdl::BasicShader _shader;
AObject* _sol;
std::vector<std::vector<AObject*> > _map;
std::vector<AObject*> _personnage;
std::vector<AObject*> _bomb;
int _zmax;
int _xmax;
float _speed;
//std::vector<AObject*> _objects;
};
#endif /*! __BOMBER_HPP__ */