-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathentirelevel.h
More file actions
37 lines (31 loc) · 742 Bytes
/
Copy pathentirelevel.h
File metadata and controls
37 lines (31 loc) · 742 Bytes
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
#ifndef ENTIRELEVEL_H
#define ENTIRELEVEL_H
#include <QVector>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include "tilemap.h"
#include "tilebuffer.h"
#include "animationbuffer.h"
#include "eventmatrix.h"
class EntireLevel
{
public:
EntireLevel();
~EntireLevel();
void setTileSize(int x, int y);
// int getTileWidth();
// int getTileHeight();
void saveToStream(QDataStream &out);
void loadFromStream(QDataStream &in);
void saveToJSON(QString FileName);
void setName(QString s);
void clear();
void clearAll();
EventMatrix *Matrix;
QVector<TileMap *> Layers;
TileBuffer *Buffer;
AnimationBuffer *AnimBuffer;
QString Name;
};
#endif // ENTIRELEVEL_H