C# Class NetMud.Data.LookupData.DimensionalModelData

Inheritance: LookupDataPartial, IDimensionalModelData
Exibir arquivo Open project: SwiftAusterity/NetMud Class Usage Examples

Public Methods

Method Description
DimensionalModelData ( ) : System

Create an empty model

DimensionalModelData ( string delimitedPlanes, DimensionalModelType type ) : System

Create model serialized from a comma delimited string of an 11x11 plane

FitnessReport ( ) : IList

Gets the errors for data fitness

GetNode ( short xAxis, short yAxis ) : IDimensionalModelNode

Gets a node based on the X and Y axis

IsModelValid ( ) : bool

Checks if the model is valid for the physics engine

RenderHelpBody ( ) : IEnumerable

Renders the help text for this data object

ViewFlattenedModel ( bool forWeb = false ) : string

View the flattened model based on view angle

Private Methods

Method Description
SerializeModelFromDelimitedList ( string delimitedPlanes ) : void

Turn a comma delimited list of planes into the modelplane set

Method Details

DimensionalModelData() public method

Create an empty model
public DimensionalModelData ( ) : System
return System

DimensionalModelData() public method

Create model serialized from a comma delimited string of an 11x11 plane
public DimensionalModelData ( string delimitedPlanes, DimensionalModelType type ) : System
delimitedPlanes string
type DimensionalModelType
return System

FitnessReport() public method

Gets the errors for data fitness
public FitnessReport ( ) : IList
return IList

GetNode() public method

Gets a node based on the X and Y axis
public GetNode ( short xAxis, short yAxis ) : IDimensionalModelNode
xAxis short the X-Axis of the node to get
yAxis short the Y-Axis of the node to get
return IDimensionalModelNode

IsModelValid() public method

Checks if the model is valid for the physics engine
public IsModelValid ( ) : bool
return bool

RenderHelpBody() public method

Renders the help text for this data object
public RenderHelpBody ( ) : IEnumerable
return IEnumerable

ViewFlattenedModel() public method

View the flattened model based on view angle
public ViewFlattenedModel ( bool forWeb = false ) : string
forWeb bool
return string