mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-09 10:07:13 +00:00
17 lines
415 B
C++
17 lines
415 B
C++
#include "../../Platform/stdafx.h"
|
|
|
|
#include "DummyCriteria.h"
|
|
|
|
DummyCriteria::DummyCriteria(const std::wstring& name) {
|
|
this->name = name;
|
|
ObjectiveCriteria::CRITERIA_BY_NAME[name] = this;
|
|
}
|
|
|
|
std::wstring DummyCriteria::getName() { return name; }
|
|
|
|
int DummyCriteria::getScoreModifier(
|
|
std::vector<std::shared_ptr<Player> >* players) {
|
|
return 0;
|
|
}
|
|
|
|
bool DummyCriteria::isReadOnly() { return false; } |