1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

First part of implementation of some type-specific handlers.

TODO:
- merge dwellings.json into object configs
- proper implementation of overrides for towns
- fully connect new API to RMG/H3M
This commit is contained in:
Ivan Savenko
2014-06-14 18:42:13 +03:00
parent 44742814cd
commit 7cfd9a0903
10 changed files with 350 additions and 74 deletions

View File

@ -266,7 +266,7 @@ CRewardableConstructor::CRewardableConstructor()
{
}
void CRewardableConstructor::init(const JsonNode & config)
void CRewardableConstructor::initTypeData(const JsonNode & config)
{
AObjectTypeHandler::init(config);
objectInfo.init(config);