Back to project page non.
The source code is released under:
MIT License
If you think the Android project non listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package non.plugins; /*from w ww . j a va 2 s.co m*/ import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.utils.JsonValue; import non.Non; import non.NonBuffer; public class non extends Plugin { public String author() { return "Thomas Slusny"; } public String license() { return "MIT"; } public String description() { return "Core plugin of NON."; } public int getWidth() { return Non.getWidth(); } public int getHeight() { return Non.getHeight(); } public int getFPS() { return Non.getFPS(); } public float getDelta() { return Non.getDelta(); } public JsonValue getConfig() { return Non.getConfig(); } public String getPlatform() { return Non.getPlatform(); } public boolean checkPlatform(String p) { return Non.checkPlatform(p); } public void error(String type, String msg) { Non.error(type, msg); } public void log(String type, String msg) { Non.log(type, msg); } public void debug(String type, String msg) { Non.debug(type, msg); } public FileHandle file(String path) { return Non.file(path); } public Object require(String path) { return Non.script.eval(file(path).readString()); } public void quit() { Non.quit(); } public NonBuffer buffer() { return new NonBuffer(); } public NonBuffer buffer(byte[] data) { return new NonBuffer(data); } public Object load, ready, draw, update, resize, close, pause, resume, keydown, keyup, keytyped, touchdown, touchup, touchdragged, mousemoved, scrolled; }