C# Class GameStruct.DIR

Afficher le fichier Open project: dream-young-soul/soul

Méthodes publiques

Свойство Type Description
_DELTA_X short[]
_DELTA_Y short[]

Méthodes publiques

Méthode Description
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

Method Details

GetAgainstDir() public static méthode

public static GetAgainstDir ( byte dir ) : byte
dir byte
Résultat byte

GetDirByPos() public static méthode

public static GetDirByPos ( short nFromX, short nFromY, short nToX, short nToY ) : byte
nFromX short
nFromY short
nToX short
nToY short
Résultat byte

GetNexPoint() public static méthode

public static GetNexPoint ( MapServer obj, short &x, short &y ) : bool
obj MapServer
x short
y short
Résultat bool

GetNextDir() public static méthode

public static GetNextDir ( short srcx, short srcy, short destx, short desty ) : byte
srcx short
srcy short
destx short
desty short
Résultat byte

Random_Dir() public static méthode

public static Random_Dir ( ) : byte
Résultat byte

Random_Walk() public static méthode

public static Random_Walk ( MapServer obj, byte &dir, short &x, short &y ) : bool
obj MapServer
dir byte
x short
y short
Résultat bool

Property Details

_DELTA_X public_oe static_oe property

public static short[] _DELTA_X
Résultat short[]

_DELTA_Y public_oe static_oe property

public static short[] _DELTA_Y
Résultat short[]