makeRegion() public static method

public static makeRegion ( byte xSector, byte ySector ) : short
xSector byte
ySector byte
return short
示例#1
0
文件: Formule.cs 项目: uvbs/DarkEmu
        public static float GetHeightAt(byte xSec, byte ySec, float x, float y)
        {
            short region = Formule.makeRegion(xSec, ySec);

            return(Data.MapObject[region].GetHeightAt(packetx(x, xSec) / 20.0f, packety(y, ySec) / 20.0f));
        }