C# Class fCraft.MessageBlockHandler

Datei anzeigen Open project: GlennMR/800craft Class Usage Examples

Public Methods

Method Description
CreateMessageBlock ( MessageBlock MessageBlock, World source ) : void
GetInstance ( ) : MessageBlockHandler
GetMessageBlock ( World world, Vector3I block ) : MessageBlock
IsInRangeOfSpawnpoint ( World world, Vector3I block ) : bool

Private Methods

Method Description
MessageBlockHandler ( ) : System
Player_Moved ( object sender, Events e ) : void
Player_PlacingBlock ( object sender, Events e ) : void

Method Details

CreateMessageBlock() public static method

public static CreateMessageBlock ( MessageBlock MessageBlock, World source ) : void
MessageBlock MessageBlock
source World
return void

GetInstance() public static method

public static GetInstance ( ) : MessageBlockHandler
return MessageBlockHandler

GetMessageBlock() public static method

public static GetMessageBlock ( World world, Vector3I block ) : MessageBlock
world World
block Vector3I
return MessageBlock

IsInRangeOfSpawnpoint() public static method

public static IsInRangeOfSpawnpoint ( World world, Vector3I block ) : bool
world World
block Vector3I
return bool