engine/Templates/SalmonWallpaperTemplate/src/fishrungames/wallpapertemplate/JniWrapper.java

30 lines
579 B
Java
Raw Normal View History

2013-01-19 20:02:34 +00:00
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);
}