2019-09-24 02:42:42 +02:00
|
|
|
#ifndef DUNGEON_DATA_H
|
|
|
|
#define DUNGEON_DATA_H
|
2019-09-22 22:12:20 +02:00
|
|
|
|
|
|
|
#include "core/resource.h"
|
|
|
|
|
2019-09-24 02:42:42 +02:00
|
|
|
#include "../main/dungeon.h"
|
|
|
|
|
|
|
|
class DungeonData : public Resource {
|
|
|
|
GDCLASS(DungeonData, Resource);
|
2019-09-22 22:12:20 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
Ref<Dungeon> setup_dungeon(int seed);
|
|
|
|
|
2019-09-24 02:42:42 +02:00
|
|
|
DungeonData();
|
|
|
|
~DungeonData();
|
2019-09-22 22:12:20 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
private:
|
2019-09-24 02:42:42 +02:00
|
|
|
//Vector<Ref<DungeonRoomData> > _rooms;
|
2019-09-22 22:12:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|