world_generator/data/biome_data.h

29 lines
479 B
C
Raw Normal View History

2019-09-22 22:12:20 +02:00
#ifndef VOXELMAN_PROP_DATA_H
#define VOXELMAN_PROP_DATA_H
#include "core/resource.h"
#include "core/math/transform.h"
class VoxelmanPropEntry : public Resource {
GDCLASS(VoxelmanPropEntry, Resource);
public:
Ref<Biome> setup_biome();
VoxelmanPropEntry();
~VoxelmanPropEntry();
protected:
static void _bind_methods();
private:
Vector2 _humidity_range;
Vector2 _temperature_range;
Vector<DungeonData> _dungeon_datas;
Vector<Ref<VoxelmanProp> > _props;
};
#endif