1 #ifndef CORE__PROMOTION_MANAGER_H
2 #define CORE__PROMOTION_MANAGER_H
4 #include <QtCore/QHash>
9 class TAGUA_EXPORT PromotionManager
: public Component
{
11 QHash
<const IType
*,const IType
*> m_promotions
;
12 QHash
<const IType
*,const IType
*> m_depromotions
;
15 void setPromotion(IType
* from
, IType
* to
);
16 const IType
* getPromotion(const IType
*) const;
17 const IType
* getDepromotion(const IType
*) const;
20 #endif // CORE__PROMOTION_MANAGER_H