public override void _setApi(IInteractionObject newApi)
 {
     Console.WriteLine("_setApi in AutoScript");
         base._setApi(newApi);
         mouse = new VirtualMouse(newApi);
         keyboard = new VirtualKeyboard(newApi);
         gameScreen = new GameScreen(newApi);
 }
 public Inventory(IInteractionObject api)
 {
     this.api = api;
     mouse = new VirtualMouse(api);
     random = new Random();
 }