OpenXcom
1.0
Open-source clone of the original X-Com
|
ArticleDefinitionCraftWeapon defines articles for craft weapons, e.g. More...
#include <ArticleDefinition.h>
Public Member Functions | |
ArticleDefinitionCraftWeapon () | |
Constructor. More... | |
void | load (const YAML::Node &node, int listOrder) |
Loads the article from YAML. More... | |
Public Member Functions inherited from OpenXcom::ArticleDefinition | |
virtual | ~ArticleDefinition () |
Destructor. | |
UfopaediaTypeId | getType () const |
Gets the type of article definition. More... | |
int | getListOrder () const |
Gets the article's list weight. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from OpenXcom::ArticleDefinition | |
ArticleDefinition (UfopaediaTypeId type_id) | |
Constructor (protected, so this class cannot be instantiated directly). More... | |
ArticleDefinitionCraftWeapon defines articles for craft weapons, e.g.
STINGRAY, AVALANCHE. They have a large background image and a stats block.
OpenXcom::ArticleDefinitionCraftWeapon::ArticleDefinitionCraftWeapon | ( | ) |
Constructor.
Constructor (only setting type of base class).
|
virtual |
Loads the article from YAML.
Loads the article definition from a YAML file.
node | YAML node. |
listOrder | The list weight for this article. |
Reimplemented from OpenXcom::ArticleDefinition.