Sorry for all the confusion guys, but what im basically trying to do is using my API in a class without defining variables in everytime.
Type: Posts; User: dunnkers
Sorry for all the confusion guys, but what im basically trying to do is using my API in a class without defining variables in everytime.
Thanks for your reply aussiemcgr,
but this is not quite what i mean.
What i try to prevent is that i have to create a large number of variables in each class i want to use other classes in. I'd...
I need them so i'd easily type
combat.someMethod();
instead of
new dunkscripts.game.Combat().someMethod();
theres obviously recursion going on, but i don't know how to do it the right way. anyone?
Okay, i've been struggling with this for a while now so i thought i'd ask the experts.
I have a file Combat.java
Another file, Actions.java, uses methods stored in Combat.java
So i have a class,...