24 lines
570 B
Java
24 lines
570 B
Java
import java.awt.AWTException;
|
|
import java.awt.Point;
|
|
import java.io.IOException;
|
|
import java.net.URL;
|
|
|
|
|
|
public class main {
|
|
|
|
public static void main(String[] args) throws AWTException, InterruptedException, IOException {
|
|
|
|
Cursor cursor = new Cursor();
|
|
CursorTask cursorTask = new CursorTask();
|
|
//cursor.displayCursorPaths();
|
|
Inventory inventory = new Inventory();
|
|
//inventory.update();
|
|
cursorTask.optimizedDropAllItemsInInventory(cursor, inventory);
|
|
|
|
|
|
System.out.println("Success!");
|
|
//cursor.moveCursorToCoordinates(new Point(620, 420));
|
|
|
|
}
|
|
}
|