C# Class Infiniminer.BlockInformation

显示文件 Open project: bobisfat/Infiniminer Class Usage Examples

Public Methods

Method Description
GetCost ( BlockType blockType ) : uint
GetHP ( BlockType blockType ) : int
GetMaxHP ( BlockType blockType ) : int
GetTexture ( BlockType blockType, BlockFaceDirection faceDir ) : BlockTexture
GetTexture ( BlockType blockType, BlockFaceDirection faceDir, BlockType blockAbove ) : BlockTexture

Private Methods

Method Description
BlockInformation ( ) : System

Method Details

GetCost() public static method

public static GetCost ( BlockType blockType ) : uint
blockType BlockType
return uint

GetHP() public static method

public static GetHP ( BlockType blockType ) : int
blockType BlockType
return int

GetMaxHP() public static method

public static GetMaxHP ( BlockType blockType ) : int
blockType BlockType
return int

GetTexture() public static method

public static GetTexture ( BlockType blockType, BlockFaceDirection faceDir ) : BlockTexture
blockType BlockType
faceDir BlockFaceDirection
return BlockTexture

GetTexture() public static method

public static GetTexture ( BlockType blockType, BlockFaceDirection faceDir, BlockType blockAbove ) : BlockTexture
blockType BlockType
faceDir BlockFaceDirection
blockAbove BlockType
return BlockTexture