Hey,
Since i'm learning Java language at school, i've decided to learn how to RPM/WPM with Java JNA and it's working fine.
So i did the GUI, added some animations, and i did my BunnyHop class which is working fine with RPM/WPM but I don't know how to deal with the threads at this time..
Here is my main method in my main Class :
Code:
public static void main(String[] args)
{
//Offsets scanning
OffsetManager.scan();
.....
//Open GUI
new FrameGUI("title");
//Here is the problem !! :(
new Thread(BunnyHop::run).start();
}
Here is my Bhop method in other class :
Code:
public static void run()
{
while(true)
{
if(bhop_boolean)
{
//Bhop RPM/WPM
}
}
}
I don't know how to start the thread with the method run(), i tried a lot of tutorials but my bhop don't want to work with a thread..
So if someone could explain me how to deal with it, i could implement other functions with threads.
Thanks u in advance !