C# Class MapUtil, tilemap

Exibir arquivo Open project: stalexwang/tilemap Class Usage Examples

Public Methods

Method Description
GetBorderPoints ( float x, float y, float w, float h ) : ICollection
GetLeftBorder ( float x ) : int
GetLowerBorder ( float y ) : int
GetRightBorder ( float w ) : int
GetUpperBorder ( float h ) : int

Method Details

GetBorderPoints() public static method

public static GetBorderPoints ( float x, float y, float w, float h ) : ICollection
x float
y float
w float
h float
return ICollection

GetLeftBorder() public static method

public static GetLeftBorder ( float x ) : int
x float
return int

GetLowerBorder() public static method

public static GetLowerBorder ( float y ) : int
y float
return int

GetRightBorder() public static method

public static GetRightBorder ( float w ) : int
w float
return int

GetUpperBorder() public static method

public static GetUpperBorder ( float h ) : int
h float
return int