mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-22 18:54:33 +00:00
29 lines
267 B
C++
29 lines
267 B
C++
#include "Difficulty.h"
|
|
|
|
int Difficulty::getId()
|
|
{
|
|
return id;
|
|
}
|
|
|
|
std::wstring Difficulty::getName()
|
|
{
|
|
return name;
|
|
}
|
|
|
|
int Difficulty::byId(int id)
|
|
{
|
|
switch (id)
|
|
{
|
|
case 0:
|
|
return PEACEFUL;
|
|
|
|
case 1:
|
|
return EASY;
|
|
|
|
case 3:
|
|
return HARD;
|
|
}
|
|
|
|
return NORMAL;
|
|
}
|