C# Class MineViewer.Scheme

Defines a mapping of block types to materials.
Afficher le fichier Open project: dzamkov/MineViewer Class Usage Examples

Méthodes publiques

Свойство Type Description
Names byte>.Dictionary

Méthodes publiques

Méthode Description
Load ( Stream File ) : Scheme>.Dictionary

Loads a set of named schemes from a file.

MaterialBorder ( byte Lower, byte Higher, Axis Axis ) : Material

Gets the material between two blocks of the specified type, bordered on the specified axis.

Scheme ( IMaterial>.Dictionary Materials ) : System

Private Methods

Méthode Description
Scheme ( ) : System

Method Details

Load() public static méthode

Loads a set of named schemes from a file.
public static Load ( Stream File ) : Scheme>.Dictionary
File Stream
Résultat Scheme>.Dictionary

MaterialBorder() public méthode

Gets the material between two blocks of the specified type, bordered on the specified axis.
public MaterialBorder ( byte Lower, byte Higher, Axis Axis ) : Material
Lower byte
Higher byte
Axis Axis
Résultat Material

Scheme() public méthode

public Scheme ( IMaterial>.Dictionary Materials ) : System
Materials IMaterial>.Dictionary
Résultat System

Property Details

Names public_oe static_oe property

Block names.
public static Dictionary Names
Résultat byte>.Dictionary