mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
30 lines
593 B
C++
30 lines
593 B
C++
/*
|
|
* Faction.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 FactionID;
|
|
enum class EAlignment : int8_t;
|
|
class BoatId;
|
|
|
|
class DLL_LINKAGE Faction : public EntityT<FactionID>, public INativeTerrainProvider
|
|
{
|
|
public:
|
|
virtual bool hasTown() const = 0;
|
|
virtual EAlignment getAlignment() const = 0;
|
|
virtual BoatId getBoatType() const = 0;
|
|
};
|
|
|
|
VCMI_LIB_NAMESPACE_END
|