mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Replace multidoj7 with dx1.16 (base multidoj16)
This commit is contained in:
parent
32b121cbd2
commit
6d194ae356
1796 changed files with 169 additions and 199 deletions
|
|
@ -7,7 +7,7 @@ import com.kdt.glsupport.*;
|
|||
|
||||
public class MinecraftGLView extends GLTextureView
|
||||
{
|
||||
private View.OnTouchListener mTouchListener;
|
||||
// private View.OnTouchListener mTouchListener;
|
||||
public MinecraftGLView(Context context) {
|
||||
super(context);
|
||||
//setPreserveEGLContextOnPause(true);
|
||||
|
|
@ -17,19 +17,12 @@ public class MinecraftGLView extends GLTextureView
|
|||
super(context, attributeSet);
|
||||
//setPreserveEGLContextOnPause(true);
|
||||
}
|
||||
/*
|
||||
@Override
|
||||
public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
|
||||
//super.surfaceDestroyed(surfaceHolder);
|
||||
System.out.println("Surface destroyed!");
|
||||
//new Throwable("Surface destroyed!").printStackTrace();
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void setOnTouchListener(View.OnTouchListener l)
|
||||
{
|
||||
super.setOnTouchListener(l);
|
||||
mTouchListener = l;
|
||||
// mTouchListener = l;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -37,12 +30,5 @@ public class MinecraftGLView extends GLTextureView
|
|||
{
|
||||
super.setOnClickListener(l);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCapturedPointerEvent(MotionEvent event)
|
||||
{
|
||||
mTouchListener.onTouch(this, event);
|
||||
return super.onCapturedPointerEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue