API Documentation
|
#include <UnitManager.h>
Public Member Functions | |
BasicUnitOption (const ConstPointer< Unit > &unit, const TranslatedString &custom_title=TranslatedString()) | |
virtual TranslatedString | title () const final override |
virtual bool | hasMemberUnit (const ConstPointer< Unit > &unit) const final override |
virtual ConstPointer< Unit > | unit () const final override |
virtual Buffer< ConstPointer< UnitOption > > | subOptions () const final override |
virtual Buffer< ConstPointer< UnitOption > > & | editSubOptions () |
Public Member Functions inherited from UnitOption | |
UnitOption (const String &id, const TranslatedString &name) | |
virtual | ~UnitOption () |
virtual ConstPointer< Unit > | unit (const ConstPointer< Unit > &) const |
Public Attributes | |
ConstPointer< Unit > | base_unit |
TranslatedString | custom_title |
Public Attributes inherited from UnitOption | |
TranslatedString | name |
String | id |
Protected Attributes | |
Buffer< ConstPointer< UnitOption > > | m_sub_options |
|
inline |
|
inlinevirtual |
|
finaloverridevirtual |
Implements UnitOption.
|
inlinefinaloverridevirtual |
Reimplemented from UnitOption.
|
finaloverridevirtual |
Reimplemented from UnitOption.
|
inlinefinaloverridevirtual |
Implements UnitOption.
ConstPointer<Unit> base_unit |
TranslatedString custom_title |
|
protected |