Changes to test system to allow per class tests.
This commit is contained in:
18
sbf-cpp/Abilities.cpp
Normal file
18
sbf-cpp/Abilities.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "Abilities.h"
|
||||
#include <string>
|
||||
|
||||
namespace SBF {
|
||||
using std::wstring;
|
||||
|
||||
const wstring& GetAbilityLabel(int abilityGroupId, int abilityId) {
|
||||
switch (abilityGroupId) {
|
||||
case kAbilityTalentsId:
|
||||
return kTalents[abilityId];
|
||||
case kAbilitySkillsId:
|
||||
return kSkills[abilityId];
|
||||
case kAbilityKnowledgesId:
|
||||
return kKnowledges[abilityId];
|
||||
}
|
||||
return L"";
|
||||
}
|
||||
} // End namespace SBF
|
||||
Reference in New Issue
Block a user