Implemented elevation in editor and mechanically in-game
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package io.anuke.mindustry;
|
||||
|
||||
import com.badlogic.gdx.utils.async.AsyncExecutor;
|
||||
import io.anuke.mindustry.core.*;
|
||||
import io.anuke.mindustry.io.BundleLoader;
|
||||
import io.anuke.ucore.core.Timers;
|
||||
@@ -9,21 +10,20 @@ import io.anuke.ucore.util.Log;
|
||||
import static io.anuke.mindustry.Vars.*;
|
||||
|
||||
public class Mindustry extends ModuleCore {
|
||||
private AsyncExecutor exec = new AsyncExecutor(1);
|
||||
|
||||
@Override
|
||||
public void init(){
|
||||
Timers.mark();
|
||||
|
||||
Vars.init();
|
||||
|
||||
debug = Platform.instance.isDebug();
|
||||
|
||||
Timers.mark();
|
||||
|
||||
Log.setUseColors(false);
|
||||
BundleLoader.load();
|
||||
ContentLoader.load();
|
||||
|
||||
Log.info("Time to load content: {0}", Timers.elapsed());
|
||||
|
||||
module(logic = new Logic());
|
||||
module(world = new World());
|
||||
module(control = new Control());
|
||||
@@ -31,6 +31,8 @@ public class Mindustry extends ModuleCore {
|
||||
module(ui = new UI());
|
||||
module(netServer = new NetServer());
|
||||
module(netClient = new NetClient());
|
||||
|
||||
Log.info("Time to load [total]: {0}", Timers.elapsed());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user