ResourceType.h 432 B

12345678910111213141516171819202122232425
  1. /*
  2. * ResourceType.h, 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. #pragma once
  11. #include "Entity.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. class GameResID;
  14. class DLL_LINKAGE ResourceType : public EntityT<GameResID>
  15. {
  16. virtual int getPrice() const = 0;
  17. };
  18. VCMI_LIB_NAMESPACE_END