Knot3.Game.Data.KnotStringIO.DecodeEdge C# (CSharp) Méthode

DecodeEdge() private static méthode

private static DecodeEdge ( char c ) : System.Edge
c char
Résultat 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 + "'!");
            }
        }