Back to project page android-gear.
The source code is released under:
MIT License
If you think the Android project android-gear 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 com.androidgear.core; /*from w w w. j a va 2 s . c o m*/ import com.androidgear.core.graphics.Graphics; public interface Game { public abstract void init(Graphics graphics); public abstract void destroy(); public abstract void update(long delta); public abstract void render(Graphics graphics); public abstract void onStartPointerEvent(float x, float y); public abstract void onEndPointerEvent(float x, float y); public abstract void onPointerDragEvent(float x, float y); public abstract int getFrameRate(); public abstract boolean screenChanged(int newWidht, int newHeight); public abstract boolean onBackPress(); }