Android Open Source - non non






From Project

Back to project page non.

License

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.

Java Source Code

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;
}




Java Source Code List

%PACKAGE%.android.AndroidLauncher.java
%PACKAGE%.desktop.DesktopLauncher.java
%PACKAGE%.ios.IOSLauncher.java
launcher.Main.java
non.InputHandle.java
non.Line.java
non.NonBuffer.java
non.Non.java
non.Quad.java
non.languages.Language.java
non.languages.javascript.java
non.languages.lua.java
non.plugins.Plugin.java
non.plugins.audio.java
non.plugins.graphics.java
non.plugins.input.java
non.plugins.lights.java
non.plugins.math.java
non.plugins.network.java
non.plugins.non.java
non.plugins.physics.java