OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::ArticleDefinitionTextImage Class Reference

ArticleDefinitionTextImage defines articles with text on the left and an image on the right side of the screen, e.g. More...

#include <ArticleDefinition.h>

Inheritance diagram for OpenXcom::ArticleDefinitionTextImage:
OpenXcom::ArticleDefinition

Public Member Functions

 ArticleDefinitionTextImage ()
 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...
 

Detailed Description

ArticleDefinitionTextImage defines articles with text on the left and an image on the right side of the screen, e.g.

ALIEN LIFEFORMS, UFO COMPONENTS.

Constructor & Destructor Documentation

OpenXcom::ArticleDefinitionTextImage::ArticleDefinitionTextImage ( )

Constructor.

Constructor (only setting type of base class).

Member Function Documentation

void OpenXcom::ArticleDefinitionTextImage::load ( const YAML::Node &  node,
int  listOrder 
)
virtual

Loads the article from YAML.

Loads the article definition from a YAML file.

Parameters
nodeYAML node.
listOrderThe list weight for this article.

Reimplemented from OpenXcom::ArticleDefinition.


The documentation for this class was generated from the following files: