moved to maven

master
MrBesen 2 years ago
parent 569d3aaf81
commit 8431ace7ef
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
  1. 1
      .gitignore
  2. 46
      pom.xml
  3. 4
      src/main/java/de/mrbesen/cr/auto/clicker/Clicker.java
  4. 2
      src/main/java/de/mrbesen/cr/auto/clicker/Main.java
  5. 2
      src/main/java/de/mrbesen/cr/auto/clicker/Overlay.java
  6. 2
      src/main/java/de/mrbesen/cr/auto/clicker/Point.java
  7. 2
      src/main/java/de/mrbesen/cr/auto/clicker/PosColSelector.java
  8. 2
      src/main/java/de/mrbesen/cr/auto/clicker/PosSelector.java
  9. 6
      src/main/java/de/mrbesen/cr/auto/clicker/UI.java

1
.gitignore vendored

@ -4,3 +4,4 @@ export.jardesc
.classpath
.profile
/default.profile
target/

@ -0,0 +1,46 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.mrbesen</groupId>
<artifactId>clashroyalebot</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>clashroyalebot</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>de.mrbesen.cr.auto.clicker.Main</mainClass>
</manifest>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.awt.AWTException;
import java.awt.Color;
@ -34,7 +34,7 @@ public class Clicker implements Runnable{
private int randomness = 15;
private boolean paused = false;
private boolean backfocus = false;
private final int waittime = 50;//time between mouse teleports and clicks
private final int waittime = 250;//time between mouse teleports and clicks
private int mincolordistance = 35;
private Overlay ov = null;

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
public class Main {

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.awt.Color;
import java.awt.Graphics;

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.util.Random;

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.awt.AWTException;
import java.awt.Color;

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.awt.Color;

@ -1,4 +1,4 @@
package mrbesen.cr.auto.clicker;
package de.mrbesen.cr.auto.clicker;
import java.awt.Color;
import java.awt.Dimension;
@ -26,8 +26,6 @@ import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.filechooser.FileNameExtensionFilter;
import com.sun.istack.internal.Nullable;
public class UI implements ActionListener {
private boolean isSelectionRunning = false; //true if an selection Thread is working,
@ -484,7 +482,7 @@ public class UI implements ActionListener {
* @param startvalue inital value
* @param komma 10^x offset for komma digits
*/
public Slider(String prefix, String sufix, int minvalue, int maxvalue, int startvalue, int komma, @Nullable ChangeListener cl,@Nullable Updater upd, boolean enabled) {//ChangeListener or Updater could be Null!
public Slider(String prefix, String sufix, int minvalue, int maxvalue, int startvalue, int komma, ChangeListener cl, Updater upd, boolean enabled) {//ChangeListener or Updater could be Null!
slider = new JSlider(minvalue, maxvalue, startvalue);
slider.addChangeListener(this);
if(prefix != null)
Loading…
Cancel
Save