I am trying to use a jar file to execute a gui interface. I am kicking off the main method from a class that is outside the jar, but inside the jar is a method that references back to the class that kicked off the program.
Class outside the jar:
public class Player {
public static int turn(int x, int y){
return 3;
}
public static void main(String[] args){
GameGui.main(args); //Class inside JAR
}
}
Method inside the jar:
public void turn(){
int move = Player.turn(3,4);
}