Beispiel #1
0
 public static void Execute(CommandInfo cmd)
 {
     if (cmd.CommandType == CommandTypeOption.MouseMove)
     {
         MouseMove(cmd.Data);
     }
 }
Beispiel #2
0
 public void Add(CommandInfo cmd)
 {
     this.commands.Enqueue(cmd);
 }
Beispiel #3
0
 public void Add(CommandTypeOption type, string data)
 {
     var cmd = new CommandInfo(type, data);
     this.Add(cmd);
 }