Knot3.Game.Data.KnotStringIO.DecodeEdge C# (CSharp) Method

DecodeEdge() private static method

private static DecodeEdge ( char c ) : System.Edge
c char
return System.Edge
        private static Edge DecodeEdge(char c)
        {
            if (DirectionCodeMap.ContainsKey (c)) {
                return new Edge (DirectionCodeMap [c]);
            }
            else {
                throw new IOException ("Failed to decode Edge: '" + c + "'!");
            }
        }