Trade.cpp 428 B

1234567891011121314151617181920212223
  1. /*
  2. * Trade.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "Trade.h"
  12. using namespace Goals;
  13. bool Trade::operator==(const Trade & other) const
  14. {
  15. return resID == other.resID;
  16. }
  17. TSubgoal Trade::whatToDoToAchieve()
  18. {
  19. return iAmElementar();
  20. }