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::MCDPatch Class Reference

An MCD data Patch. More...

#include <MCDPatch.h>

Public Member Functions

 MCDPatch ()
 Creates an MCD Patch. More...
 
 ~MCDPatch ()
 Cleans up the MCD Patch.
 
void load (const YAML::Node &node)
 Loads the MCD Patch from YAML. More...
 
void modifyData (MapDataSet *dataSet) const
 Applies an MCD patch to a mapDataSet. More...
 

Detailed Description

An MCD data Patch.

Constructor & Destructor Documentation

OpenXcom::MCDPatch::MCDPatch ( )

Creates an MCD Patch.

Initializes an MCD Patch.

Member Function Documentation

void OpenXcom::MCDPatch::load ( const YAML::Node &  node)

Loads the MCD Patch from YAML.

Loads the MCD Patch from a YAML file.

TODO: fill this out with more data.

Parameters
nodeYAML node.
void OpenXcom::MCDPatch::modifyData ( MapDataSet dataSet) const

Applies an MCD patch to a mapDataSet.

Parameters
dataSetThe MapDataSet we want to modify.

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