C# Class XCom.Globals

ファイルを表示 Open project: pmprog/OpenXCOM.Tools

Public Properties

Property Type Description
HalfWidth int

Public Methods

Method Description
ConvertCoordsDiamond ( int x, int y, int hWidth, int hHeight, int &row, int &col ) : void

Method to convert from screen(x,y) coordinates to map(row,col) coordinates

Method Details

ConvertCoordsDiamond() public static method

Method to convert from screen(x,y) coordinates to map(row,col) coordinates
public static ConvertCoordsDiamond ( int x, int y, int hWidth, int hHeight, int &row, int &col ) : void
x int
y int
hWidth int
hHeight int
row int
col int
return void

Property Details

HalfWidth public_oe static_oe property

public static int HalfWidth
return int