diff --git a/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/Demo4DMain.java b/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/Demo4DMain.java index 402b7a99..656a3529 100644 --- a/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/Demo4DMain.java +++ b/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/Demo4DMain.java @@ -77,13 +77,13 @@ public class Demo4DMain extends Game { try { if (args.contains("warpcore-load")) { System.out.println("warpcore-load: requested"); - WaterBucket bucket = TOSWarpCoreDriver.getInstance().createReader().readFile("./warpcore.xml"); + WaterBucket bucket = TOSWarpCoreDriver.newInstance().createReader().readFile("./warpcore.xml"); TOSWarpCore.INSTANCE.BãßArmWarpCore(bucket); } if (args.contains("warpcore-save")) { System.out.println("warpcore-save: requested"); WaterBucket bucket = TOSWarpCore.INSTANCE.BãßCurrentWarpCore(); - TOSWarpCoreDriver.getInstance().createWriter().writeFile(bucket, "./warpcore.xml"); + TOSWarpCoreDriver.newInstance().createWriter().writeFile(bucket, "./warpcore.xml"); } } catch (Exception e) { throw new RuntimeException(e); diff --git a/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/warp/TOSWarpCoreDriver.java b/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/warp/TOSWarpCoreDriver.java index 2b2ec2cb..0e4e6488 100644 --- a/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/warp/TOSWarpCoreDriver.java +++ b/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/warp/TOSWarpCoreDriver.java @@ -3,6 +3,9 @@ package love.distributedrebirth.numberxd.base2t.part.warp; import org.x4o.xml.X4ODriver; import org.x4o.xml.X4ODriverManager; +import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") public class TOSWarpCoreDriver extends X4ODriver { static final public String LANGUAGE_NAME = "warpcore"; @@ -18,7 +21,7 @@ public class TOSWarpCoreDriver extends X4ODriver { return LANGUAGE_VERSIONS; } - static public TOSWarpCoreDriver getInstance() { + static public TOSWarpCoreDriver newInstance() { return (TOSWarpCoreDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME); } }