escenario.h
来自「Game developed with C++ and ALLEGRO」· C头文件 代码 · 共 41 行
H
41 行
#ifndef ESCENARIO_H
#define ESCENARIO_H
//#include "Cuadro.h"
#include "Momia.h"
#include "Item.h"
#include "Monito.h"
#define S1 1
#define SU 2
#define SD 3
#define SR 4
#define SL 5
#define C1 6
#define CU 7
#define CD 8
#define CR 9
#define CL 10
#define T 11
#define W 12
class Escenario{
private:
int anchura;
int altura;
int nivel;
public:
Cuadro tabla[6][6];
Momia *mom;
Personaje *mo;
void cargar(int);
int getAnchura();
int getAltura();
int getNivel();
void dibujar(Cuadro tabla[6][6]);
Escenario();
Escenario(Personaje *,int,int,int, Cuadro tabla[6][6], Momia *);
~Escenario();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?