C# Class NetMud.Data.LookupData.DimensionalModelData

Inheritance: LookupDataPartial, IDimensionalModelData
Afficher le fichier Open project: SwiftAusterity/NetMud Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
SerializeModelFromDelimitedList ( string delimitedPlanes ) : void

Turn a comma delimited list of planes into the modelplane set

Method Details

DimensionalModelData() public méthode

Create an empty model
public DimensionalModelData ( ) : System
Résultat System

DimensionalModelData() public méthode

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

FitnessReport() public méthode

Gets the errors for data fitness
public FitnessReport ( ) : IList
Résultat IList

GetNode() public méthode

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
Résultat IDimensionalModelNode

IsModelValid() public méthode

Checks if the model is valid for the physics engine
public IsModelValid ( ) : bool
Résultat bool

RenderHelpBody() public méthode

Renders the help text for this data object
public RenderHelpBody ( ) : IEnumerable
Résultat IEnumerable

ViewFlattenedModel() public méthode

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