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