so is this used to make handlers!?
|
|
Well, Here Goes LOL
1. 1st make sure the method you are going to import is static
eg:
2. open the class that you will be importing the method toCode:public static void importingClass() { }
3. add
post errors, here. should be noneCode:import static classname.methodname;
this is what the outcome should be
instead of using
you would useCode:TelePortHandler.TeleTo("Varrock", 25);
Code:TeleTo("Varrock", 25);hope this helped
if you want to import all the methed use the import like this
FeedBack Is NiceCode:import static MethodName.*;
Note: This is not leeched from moparscape, i am X_blitz_Xif you want proof say so.
so is this used to make handlers!?

i think is not i can find u tutorial for making handlers![]()
ahh ok......
You could make a handler then import it into the client class and then instead of using
you would jus useCode:handlername.methodname();
simpleCode:methodname();![]()
It's pretty good, but you should explain why the 'static' statement is there so 'it can be called on from any class, without hassle.' (I think, I can't remember what it was)
| « Help!! | KBD Mini Game With Point System. (Pictures) » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |