mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 10:03:38 +00:00
18 lines
412 B
C++
18 lines
412 B
C++
#pragma once
|
|
#include "Feature.h"
|
|
#include "../../Blocks/Material.h"
|
|
|
|
class WeighedTreasure;
|
|
|
|
class MonsterRoomFeature : public Feature {
|
|
private:
|
|
static const int TREASURE_ITEMS_COUNT = 15;
|
|
static WeighedTreasure* monsterRoomTreasure[TREASURE_ITEMS_COUNT];
|
|
|
|
public:
|
|
virtual bool place(Level* level, Random* random, int x, int y, int z);
|
|
|
|
private:
|
|
std::wstring randomEntityId(Random* random);
|
|
};
|