C# Class Oglr.Core.ConvertOldFileFormats

Show file Open project: SteveDunn/oglr

Public Methods

Method Description
Convert ( string path ) : string

Converts an old Gleed file (1.4) to the new Gleed format and returns the path to the new file.

Private Methods

Method Description
ConvertOldFileFormats ( string path ) : System
convertCircleItem ( CircleItem old ) : ItemEditor
convertCustomProperties ( SerializableDictionary old, CustomProperties @new ) : void
convertItem ( System.Item oldItem ) : ItemEditor
convertPathItem ( PathItem old ) : ItemEditor
convertRectangleItem ( RectangleItem old ) : ItemEditor
convertTextureItem ( TextureItem old ) : ItemEditor
copyLayer ( Legacy oldLayer ) : LayerEditor
copyPropertiesFromOldToNew ( System.Item old, ItemProperties @new ) : void
getType ( string typeName ) : Type
populateEditorRelatedStuff ( LevelEditor level, System.Xml.Linq.XElement xml ) : void

Method Details

Convert() public static method

Converts an old Gleed file (1.4) to the new Gleed format and returns the path to the new file.
public static Convert ( string path ) : string
path string
return string