mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-10-14 16:55:12 +00:00
feat: init
This commit is contained in:
commit
25809b8455
18807 files changed
+3944357
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "DummyCriteria.h"
|
||||
|
||||
DummyCriteria::DummyCriteria(const wstring &name)
|
||||
{
|
||||
this->name = name;
|
||||
ObjectiveCriteria::CRITERIA_BY_NAME[name] = this;
|
||||
}
|
||||
|
||||
wstring DummyCriteria::getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
int DummyCriteria::getScoreModifier(vector<shared_ptr<Player> > *players)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool DummyCriteria::isReadOnly()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Reference in new issue
Block a user