ArkaliaCore.Game.Game.Engines.PathEngine.GetCellNum C# (CSharp) 메소드

GetCellNum() 공개 정적인 메소드

Get cellID by char
public static GetCellNum ( string CellChars ) : int
CellChars string
리턴 int
        public static int GetCellNum(string CellChars)
        {
            int NumChar1 = Hash.IndexOf(CellChars[0]) * Hash.Length;
            int NumChar2 = Hash.IndexOf(CellChars[1]);
            return NumChar1 + NumChar2;
        }