Custom Class, Wrapper/Subclass?
Ok so I'm going to try to explain my problem again and see if I can get some more direction on what I should do.
I have a class that has multiple public functions that a user is allowed to use. That user makes his own java class file that manipulates these functions at his discretion.
My question is, I know my class name that holds all of those functions is: playerLink.java
The person who manipulates these functions out of playerLink.java calls their class maniuplate.java
In my Main I have to create an instance of this persons manipulate.java before I can use it.
How can I wrap their class file, no matter the name of it, into another class I've predefined and compile?
So if I knew the person was going to name their class Manipulate.java I could easily just change my code to be:
Manipulate player1 = new Manipulate();
and then compile, but I don't know what the name of their class/file will be.