30 lines
579 B
Java
30 lines
579 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 Update(long dt);
|
||
|
|
||
|
public static native void OnTapMove(float x, float y);
|
||
|
|
||
|
public static native void SetOffset(float offsetX, float offsetY);
|
||
|
|
||
|
public static native void SetOrientation(int isLandscape);
|
||
|
|
||
|
}
|