ArkaliaCore.Game.Game.Engines.PathEngine.GetCellNum C# (CSharp) Method

GetCellNum() public static method

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