mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Merge branch 'development' into feature/allow-dupe-config-names
This commit is contained in:
@@ -185,9 +185,13 @@ public class Context {
|
|||||||
panel.add(gameApplet);
|
panel.add(gameApplet);
|
||||||
panel.validate();
|
panel.validate();
|
||||||
|
|
||||||
|
serverProvider.preAppletInit();
|
||||||
|
|
||||||
gameApplet.init();
|
gameApplet.init();
|
||||||
gameApplet.start();
|
gameApplet.start();
|
||||||
|
|
||||||
|
serverProvider.postAppletStart();
|
||||||
|
|
||||||
java.util.Timer t = new java.util.Timer();
|
java.util.Timer t = new java.util.Timer();
|
||||||
t.schedule(new TimerTask() {
|
t.schedule(new TimerTask() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -146,4 +146,20 @@ public abstract class ServerProvider implements Opcodes {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called in Context.setApplet before applet.init() is called. Exclusively used for manipulating the Frame attached
|
||||||
|
* to the applet of Roatpkz.
|
||||||
|
*/
|
||||||
|
public void preAppletInit() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called in Context.setApplet before after applet.start() and applet.init() are called. Exclusively used for manipulating the Frame attached
|
||||||
|
* to the applet of Roatpkz.
|
||||||
|
*/
|
||||||
|
public void postAppletStart() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user