C# Class MineViewer.Scheme

Defines a mapping of block types to materials.
显示文件 Open project: dzamkov/MineViewer Class Usage Examples

Public Properties

Property Type Description
Names byte>.Dictionary

Public Methods

Method 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

Method Description
Scheme ( ) : System

Method Details

Load() public static method

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

MaterialBorder() public method

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
return Material

Scheme() public method

public Scheme ( IMaterial>.Dictionary Materials ) : System
Materials IMaterial>.Dictionary
return System

Property Details

Names public_oe static_oe property

Block names.
public static Dictionary Names
return byte>.Dictionary