C# Class RocketRegions.Model.RegionType.RegionType

Show file Open project: Trojaner25/Rocket-Regions

Public Methods

Method Description
GetDistance ( SerializablePosition pos ) : double
GetTypes ( ) : ReadOnlyCollection
IsInRegion ( SerializablePosition p ) : bool
OnCreate ( IRocketPlayer player, string name, string args ) : Region
OnRedefine ( IRocketPlayer player, string args ) : bool
RegisterRegionType ( string name ) : RegionType
RegisterRegionType ( string name, Type t ) : void

Method Details

GetDistance() public abstract method

public abstract GetDistance ( SerializablePosition pos ) : double
pos SerializablePosition
return double

GetTypes() public static method

public static GetTypes ( ) : ReadOnlyCollection
return ReadOnlyCollection

IsInRegion() public abstract method

public abstract IsInRegion ( SerializablePosition p ) : bool
p SerializablePosition
return bool

OnCreate() public abstract method

public abstract OnCreate ( IRocketPlayer player, string name, string args ) : Region
player IRocketPlayer
name string
args string
return Region

OnRedefine() public abstract method

public abstract OnRedefine ( IRocketPlayer player, string args ) : bool
player IRocketPlayer
args string
return bool

RegisterRegionType() public static method

public static RegisterRegionType ( string name ) : RegionType
name string
return RegionType

RegisterRegionType() public static method

public static RegisterRegionType ( string name, Type t ) : void
name string
t System.Type
return void