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

Draft of new Event conditions

This commit is contained in:
AlexVinS
2016-02-22 23:43:57 +03:00
parent dc5ad7d7b3
commit 4bcfb8c27d
5 changed files with 46 additions and 14 deletions

View File

@ -63,6 +63,7 @@ EventCondition::EventCondition(EWinLoseType condition):
object(nullptr),
value(-1),
objectType(-1),
objectSubtype(-1),
position(-1, -1, -1),
condition(condition)
{
@ -72,6 +73,7 @@ EventCondition::EventCondition(EWinLoseType condition, si32 value, si32 objectTy
object(nullptr),
value(value),
objectType(objectType),
objectSubtype(-1),
position(position),
condition(condition)
{}