Added client creation event
This commit is contained in:
@@ -33,6 +33,8 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup(){
|
public void setup(){
|
||||||
|
Events.fire(new ClientCreateEvent());
|
||||||
|
|
||||||
Vars.loadLogger();
|
Vars.loadLogger();
|
||||||
Vars.loadFileLogger();
|
Vars.loadFileLogger();
|
||||||
Vars.platform = this;
|
Vars.platform = this;
|
||||||
|
|||||||
@@ -92,6 +92,10 @@ public class EventType{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class ClientCreateEvent{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/** Called when the client game is first loaded. */
|
/** Called when the client game is first loaded. */
|
||||||
public static class ClientLoadEvent{
|
public static class ClientLoadEvent{
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=a3edc4804b57ac9f8c59216cc470f05133f8c804
|
archash=ff1818a232375891ffea0347130588c0e2ca68cc
|
||||||
|
|||||||
Reference in New Issue
Block a user