-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathEndGame.hpp
54 lines (47 loc) · 1020 Bytes
/
EndGame.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
#ifndef __ENDGAME_H__
#define __ENDGAME_H__
#include <list>
#include <SFML/Audio.hpp>
#include "APlayer.hpp"
#include "all.hpp"
#include "AObject.hpp"
#include "Pos3f.hpp"
#include "TextMap.hpp"
#include "Model.hpp"
#include "Camera.hpp"
#include "Music.hpp"
#define BACKGROUND 220
enum WhoWin
{
P1,
P2,
IA,
};
class EndGame// : public AObject
{
public:
EndGame(void);
~EndGame(void);
void endMusic();
void startMusic();
void initialize(void);
void initialize(float, float, float);
void update( );
void draw(enum WhoWin who);
void music();
private:
// Model::Bomberman model_;
Pos3f pos_;
Camera camera_;
bool mu;
gdl::Image textureP1w_;
gdl::Image textureP2w_;
gdl::Image textureIaa_;
TextMap text_;
sf::Sound Sound_;
sf::SoundBuffer Buffer_;
Music *music_;
void initialize_(void);
std::list<APlayer*> _pl;
};
#endif