C# Class wServer.realm.setpieces.SetPieces

Mostrar archivo Open project: C453/OryxKingdom Class Usage Examples

Public Methods

Method Description
ApplySetPieces ( World world ) : void
reflectHori ( int mat ) : ].int[
reflectVert ( int mat ) : ].int[
rotateCW ( int mat ) : ].int[

Private Methods

Method Description
DistSqr ( IntPoint a, IntPoint b ) : int
SetPiece ( ISetPiece piece, int min, int max ) : Tuple

Method Details

ApplySetPieces() public static method

public static ApplySetPieces ( World world ) : void
world World
return void

reflectHori() public static method

public static reflectHori ( int mat ) : ].int[
mat int
return ].int[

reflectVert() public static method

public static reflectVert ( int mat ) : ].int[
mat int
return ].int[

rotateCW() public static method

public static rotateCW ( int mat ) : ].int[
mat int
return ].int[