-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModeles.h
61 lines (42 loc) · 1.59 KB
/
Modeles.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
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef MODELES_H
#define MODELES_H
#include <vector>
#include "Royaume.h"
#include "Personnage.h"
#include "Cinematique.h"
class Monstre;
class Objet;
//#include "Objet.h"
#define TAILLE_CASE_X 100
#define TAILLE_CASE_Y 50
class Modeles
{
public:
enum Phase{PRET, ACTION_PJ, ACTION_PNJ, NB_PHASES_IN_GAME,
INTRO, FIN, GAME_OVER};
//struct Position {int x,y;};
static void init();
static std::vector<Monstre*>& getMonstres();
static std::vector<Objet*>& getObjets();
static int getNumZoneCourant();
static void updatePhasePret();
static void updatePhasePJ();
static void updatePhasePNJ();
/** case à prendre pour suivre un chemin selon direction souhaitée */
static const Case* chemin(const Position& depart, const Position& direction, const Zone* zone);
static Royaume m_royaume;
static Personnage m_joueur;
//static std::vector<Monstre*> m_monstres;//cf. Zone.h
static Cinematique m_cinematiqueIntro;
static Cinematique m_cinematiqueFin;
//gestion phases
static Phase m_phase;///phase courante
static bool m_nouvellePhase;///si la phase vient juste de changer
static int m_phaseDeltaTempsMs;///millisecondes depuis dernier changement de phase
static const bool OPTION_FAST;
static const int DUREE_ACTION_PJ_MS;///millisecondes
static const int DUREE_ACTION_PNJ_MS;///millisecondes
static const int IMAGE_PARTIE2_CINEMATIQUE_FIN;
// static std::vector<Objet*> m_objets;
};
#endif // MODELES_H