engine/Templates/SalmonWallpaperTemplate/src/fishrungames/wallpapertemplate/JniWrapper.java
2013-02-10 12:47:51 +00:00

24 lines
407 B
Java

package fishrungames.wallpapertemplate;
public class JniWrapper
{
static
{
System.loadLibrary("SalmonWallpaper");
}
public static void LoadLibrary()
{
//To force loading libraries
}
public static native void SetRedBkgPref(boolean r);
public static native void Init(int width, int height);
public static native void SetOffset(float offsetX, float offsetY);
}