Frame of Reference Game API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | List of all members
FrameOfReference.Editor.World.Commands.ImportXml Class Reference

Loads new XML data into a Universe. More...

Inheritance diagram for FrameOfReference.Editor.World.Commands.ImportXml:

Public Member Functions

 ImportXml (Func< Universe > getUniverse, Action< Universe > setUniverse, string xmlData, Action refreshHandler)
 Creates a new command for loading XML data into a Universe. More...
 

Protected Member Functions

override void TransferNonXmlData (Universe oldUniverse, Universe newUniverse)
 

Detailed Description

Loads new XML data into a Universe.

Constructor & Destructor Documentation

FrameOfReference.Editor.World.Commands.ImportXml.ImportXml ( Func< Universe getUniverse,
Action< Universe setUniverse,
string  xmlData,
Action  refreshHandler 
)
inline

Creates a new command for loading XML data into a Universe.

Parameters
getUniverseCalled to get the current Universe in the editor.
setUniverseCalled to change the current Universe in the editor.
xmlDataThe XML string to parse.
refreshHandlerCalled when the presenter needs to be reset.

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