-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterface.hpp
75 lines (69 loc) · 1.25 KB
/
interface.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#pragma once
#include <stdio.h>
#include "Global.hpp"
class InterGraf
{
private:
void insereElementos(char elemento, int coordX, int coordY);
void insereMarcas(char elemento, int coordX, int coordY);
void insereParedes(void);
void insereChao(void);
void carregaImagens(void);
public:
InterGraf();
void iniciaGraficos(int FlSn);
void executa(void);
void iniciaMapa(void);
void exibeMapa(void);
void novoKBoard2(int *_key);
void auxilia(void);
void log_erro(void);
};
class EndGameCls
{
private:
void load_eg(void);
void show_result(void);
void victory(void);
void defeat(void);
public:
void checaJogo(void);
void reset(void);
};
class TalkProlog
{
private:
int _pace;
int _health;
int _gold;
int _bullets;
int _x;
int _y;
public:
TalkProlog();
int get_direction(int x, int y);
bool le_prolog(void);
void talk_prolog(int *h, int *b, int *x, int *y, int* direc);
};
class ClsHUD
{
private:
int scale;
public:
ClsHUD();
void insereHUD(void);
void insereHealthHUD(void);
void insereCoinHUD(void);
void insereDownHUD(void);
};
class EndGame{
private:
int loop;
int w;
int h;
public:
EndGame();
void EndHUD(int _time);
void writeScore(int elem);
void YouDied(void);
};