API Documentation
|
#include <UnitManager.h>
Public Member Functions | |
CoordinateUnitOption (const String &id, const TranslatedString &name) | |
virtual ConstPointer< Unit > | unit () const final override |
virtual bool | hasMemberUnit (const ConstPointer< Unit > &unit) const final override |
virtual ConstPointer< Unit > | unit (const ConstPointer< Unit > &distance_unit) const final override |
Public Member Functions inherited from UnitOption | |
UnitOption (const String &id, const TranslatedString &name) | |
virtual | ~UnitOption () |
virtual TranslatedString | title () const |
virtual Buffer< ConstPointer< UnitOption > > | subOptions () const |
Additional Inherited Members | |
Public Attributes inherited from UnitOption | |
TranslatedString | name |
String | id |
|
inline |
|
finaloverridevirtual |
Implements UnitOption.
|
finaloverridevirtual |
Implements UnitOption.
|
finaloverridevirtual |
Reimplemented from UnitOption.