C# 클래스 GameStruct.DIR

파일 보기 프로젝트 열기: dream-young-soul/soul

공개 프로퍼티들

프로퍼티 타입 설명
_DELTA_X short[]
_DELTA_Y short[]

공개 메소드들

메소드 설명
GetAgainstDir ( byte dir ) : byte
GetDirByPos ( short nFromX, short nFromY, short nToX, short nToY ) : byte
GetNexPoint ( MapServer obj, short &x, short &y ) : bool
GetNextDir ( short srcx, short srcy, short destx, short desty ) : byte
Random_Dir ( ) : byte
Random_Walk ( MapServer obj, byte &dir, short &x, short &y ) : bool

메소드 상세

GetAgainstDir() 공개 정적인 메소드

public static GetAgainstDir ( byte dir ) : byte
dir byte
리턴 byte

GetDirByPos() 공개 정적인 메소드

public static GetDirByPos ( short nFromX, short nFromY, short nToX, short nToY ) : byte
nFromX short
nFromY short
nToX short
nToY short
리턴 byte

GetNexPoint() 공개 정적인 메소드

public static GetNexPoint ( MapServer obj, short &x, short &y ) : bool
obj MapServer
x short
y short
리턴 bool

GetNextDir() 공개 정적인 메소드

public static GetNextDir ( short srcx, short srcy, short destx, short desty ) : byte
srcx short
srcy short
destx short
desty short
리턴 byte

Random_Dir() 공개 정적인 메소드

public static Random_Dir ( ) : byte
리턴 byte

Random_Walk() 공개 정적인 메소드

public static Random_Walk ( MapServer obj, byte &dir, short &x, short &y ) : bool
obj MapServer
dir byte
x short
y short
리턴 bool

프로퍼티 상세

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

public static short[] _DELTA_X
리턴 short[]

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

public static short[] _DELTA_Y
리턴 short[]