Exemplo n.º 1
0
 public void Parse(char currentSymbol)
 {
     if (Shapes.ContainsKey(currentSymbol) == true)
     {
         Shape Action = Shapes[currentSymbol];
         Action(currentSymbol);
     }
     else
     {
         CharBuffer.Add(currentSymbol);
     }
 }