Exemplo n.º 1
0
 public static void ExecuteCommand(GLCommand command)
 {
     if (commandProcessors.TryGetValue(command.Command, out var processor))
     {
         processor(command.Arguments);
     }
 }
Exemplo n.º 2
0
 private void AddCommand(GLCommand command)
 {
     Commands[Count] = command;
     Count++;
 }