mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-26 16:28:14 +05:00
20 lines
386 B
C++
20 lines
386 B
C++
#pragma once
|
|
#include "Feature.h"
|
|
#include "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:
|
|
wstring randomEntityId(Random *random);
|
|
};
|