C# Class Infiniminer.BlockInformation

Afficher le fichier Open project: bobisfat/Infiniminer Class Usage Examples

Méthodes publiques

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

Méthode Description
BlockInformation ( ) : System

Method Details

GetCost() public static méthode

public static GetCost ( BlockType blockType ) : uint
blockType BlockType
Résultat uint

GetHP() public static méthode

public static GetHP ( BlockType blockType ) : int
blockType BlockType
Résultat int

GetMaxHP() public static méthode

public static GetMaxHP ( BlockType blockType ) : int
blockType BlockType
Résultat int

GetTexture() public static méthode

public static GetTexture ( BlockType blockType, BlockFaceDirection faceDir ) : BlockTexture
blockType BlockType
faceDir BlockFaceDirection
Résultat BlockTexture

GetTexture() public static méthode

public static GetTexture ( BlockType blockType, BlockFaceDirection faceDir, BlockType blockAbove ) : BlockTexture
blockType BlockType
faceDir BlockFaceDirection
blockAbove BlockType
Résultat BlockTexture