aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Rarity.cpp
blob: fde81dd759331ea9c6f7d7fda3016a0cf34b5ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stdafx.h"

#include "Rarity.h"

const Rarity *Rarity::common = new Rarity(eHTMLColor_f, L"Common");
const Rarity *Rarity::uncommon = new Rarity(eHTMLColor_e, L"Uncommon");
const Rarity *Rarity::rare = new Rarity(eHTMLColor_b, L"Rare");
const Rarity *Rarity::epic = new Rarity(eHTMLColor_d, L"Epic");

Rarity::Rarity(eMinecraftColour color, const wstring &name) : color(color), name(name)
{
}