C# 클래스 XCom.Globals

파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools

공개 프로퍼티들

프로퍼티 타입 설명
HalfWidth int

공개 메소드들

메소드 설명
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

메소드 상세

ConvertCoordsDiamond() 공개 정적인 메소드

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
리턴 void

프로퍼티 상세

HalfWidth 공개적으로 정적으로 프로퍼티

public static int HalfWidth
리턴 int