C# Class Portal2.DataTypes.P2CFile

A puzzle file.
ファイルを表示 Open project: Kyle0654/Portal2.Puzzle Class Usage Examples

Public Properties

Property Type Description
Root P2CNode

Public Methods

Method Description
Open ( string filename ) : P2CFile

Opens and reads a p2c file.

Save ( string filename ) : void

Save a P2CFile to the specified file.

Private Methods

Method Description
P2CFile ( ) : System
P2CFile ( P2CNode root ) : System

Method Details

Open() public static method

Opens and reads a p2c file.
public static Open ( string filename ) : P2CFile
filename string
return P2CFile

Save() public method

Save a P2CFile to the specified file.
public Save ( string filename ) : void
filename string
return void

Property Details

Root public_oe property

The root node in the file
public P2CNode Root
return P2CNode