2016-10-28 16:16:46 +02:00
|
|
|
/*
|
|
|
|
|
* EnemyInfo.cpp, part of VCMI engine
|
|
|
|
|
*
|
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
|
*
|
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#include "StdInc.h"
|
|
|
|
|
#include "EnemyInfo.h"
|
|
|
|
|
|
2017-07-20 07:08:49 +03:00
|
|
|
#include "../../lib/battle/Unit.h"
|
|
|
|
|
|
|
|
|
|
bool EnemyInfo::operator==(const EnemyInfo & ei) const
|
2016-10-28 16:16:46 +02:00
|
|
|
{
|
2017-07-20 07:08:49 +03:00
|
|
|
return s->unitId() == ei.s->unitId();
|
2016-10-28 16:16:46 +02:00
|
|
|
}
|
2017-07-20 07:08:49 +03:00
|
|
|
|