| 12345678910111213141516171819202122232425262728 |
- /*
- * Player.h, 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
- *
- */
- #pragma once
- #include "Entity.h"
- VCMI_LIB_NAMESPACE_BEGIN
- class PlayerColor;
- class TeamID;
- class IBonusBearer;
- class DLL_LINKAGE Player : public EntityWithBonuses<PlayerColor>
- {
- public:
- virtual TeamID getTeam() const = 0;
- virtual bool isHuman() const = 0;
- virtual int getResourceAmount(int type) const = 0;
- };
- VCMI_LIB_NAMESPACE_END
|