C# Class fCraft.Doors.Door

Mostra file Open project: GlennMR/800craft Class Usage Examples

Public Methods

Method Description
CalculateRange ( Door Door ) : DoorRange
Deserialize ( string name, string sdata, Map map ) : Door
DoesNameExist ( World world, String name ) : bool
Door ( ) : System
Door ( String world, Vector3I affectedBlocks, String Name, String Creator ) : System
GenerateName ( World world ) : String
IsInRange ( Player player ) : bool
IsInRange ( Vector3I vector ) : bool
Remove ( Player requester ) : void
Serialize ( ) : string

Method Details

CalculateRange() public static method

public static CalculateRange ( Door Door ) : DoorRange
Door Door
return DoorRange

Deserialize() public static method

public static Deserialize ( string name, string sdata, Map map ) : Door
name string
sdata string
map Map
return Door

DoesNameExist() public static method

public static DoesNameExist ( World world, String name ) : bool
world World
name String
return bool

Door() public method

public Door ( ) : System
return System

Door() public method

public Door ( String world, Vector3I affectedBlocks, String Name, String Creator ) : System
world String
affectedBlocks Vector3I
Name String
Creator String
return System

GenerateName() public static method

public static GenerateName ( World world ) : String
world World
return String

IsInRange() public method

public IsInRange ( Player player ) : bool
player Player
return bool

IsInRange() public method

public IsInRange ( Vector3I vector ) : bool
vector Vector3I
return bool

Remove() public method

public Remove ( Player requester ) : void
requester Player
return void

Serialize() public method

public Serialize ( ) : string
return string