public EngineOptions onCreateEngineOptions() {
// TODO Auto-generated method stub
myGestureDetector = new GestureDetector(this.getBaseContext(),new TestGesture());
final Camera camera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
return new EngineOptions(true, ScreenOrientation.LANDSCAPE_FIXED,
new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), camera);
}
沒有留言:
張貼留言