C# Class Bricklayer.Common.Entities.SmileyType

A type of expression that players will show
Mostra file Open project: Cyral/Bricklayer Class Usage Examples

Public Properties

Property Type Description
Smile SmileyType
SmileyList List

Public Methods

Method Description
FromID ( byte ID ) : SmileyType

Finds a SmileyType from a given ID number

Init ( ) : void

Adds/creates all SmileyTypes

SmileyType ( string name, int index ) : System

Creates a new instance of a blocktype

Private Methods

Method Description
SmileyType ( ) : System

Method Details

FromID() public static method

Finds a SmileyType from a given ID number
public static FromID ( byte ID ) : SmileyType
ID byte
return SmileyType

Init() public static method

Adds/creates all SmileyTypes
public static Init ( ) : void
return void

SmileyType() public method

Creates a new instance of a blocktype
public SmileyType ( string name, int index ) : System
name string Name of the block
index int The Y position of the smiley in the spritesheet
return System

Property Details

Smile public_oe static_oe property

public static SmileyType,Bricklayer.Common.Entities Smile
return SmileyType

SmileyList public_oe static_oe property

List of all block types
public static List SmileyList
return List