Revision 401d9c0f
Added by Leszek Koltunski over 1 year ago
build.gradle | ||
---|---|---|
35 | 35 |
} |
36 | 36 |
|
37 | 37 |
dependencies { |
38 |
api project(':distorted-objectlib')
|
|
39 |
api project(':distorted-flags') |
|
38 |
api project(':distorted-library-object')
|
|
39 |
api project(':distorted-component-flags')
|
|
40 | 40 |
|
41 | 41 |
implementation platform('com.google.firebase:firebase-bom:31.1.0') |
42 | 42 |
implementation ('com.google.firebase:firebase-analytics') |
... | ... | |
53 | 53 |
implementation ('androidx.work:work-runtime:2.8.0') |
54 | 54 |
implementation ('com.google.android.material:material:1.8.0') |
55 | 55 |
implementation "com.android.billingclient:billing:5.1.0" |
56 |
implementation project(path: ':distorted-puzzle-jsons')
|
|
57 |
implementation project(path: ':distorted-puzzle-dmesh')
|
|
56 |
implementation project(path: ':distorted-component-jsons')
|
|
57 |
implementation project(path: ':distorted-component-dmesh')
|
|
58 | 58 |
implementation project(path: ':distorted-os-android') |
59 | 59 |
} |
src/main/java/org/distorted/bandaged/BandagedPlayView.java | ||
---|---|---|
139 | 139 |
@Override |
140 | 140 |
public boolean onTouchEvent(MotionEvent event) |
141 | 141 |
{ |
142 |
return mObjectController.onTouchEvent(event,MODE_ROTATE); |
|
142 |
mInterface.setMotionEvent(event); |
|
143 |
return mObjectController.onTouchEvent(MODE_ROTATE); |
|
143 | 144 |
} |
144 | 145 |
} |
145 | 146 |
|
src/main/java/org/distorted/main/RubikSurfaceView.java | ||
---|---|---|
169 | 169 |
@Override |
170 | 170 |
public boolean onTouchEvent(MotionEvent event) |
171 | 171 |
{ |
172 |
mInterface.setMotionEvent(event); |
|
172 | 173 |
int mode = ScreenList.getMode(); |
173 |
return mObjectController.onTouchEvent(event,mode);
|
|
174 |
return mObjectController.onTouchEvent(mode); |
|
174 | 175 |
} |
175 | 176 |
} |
176 | 177 |
|
src/main/java/org/distorted/tutorials/TutorialSurfaceView.java | ||
---|---|---|
143 | 143 |
@Override |
144 | 144 |
public boolean onTouchEvent(MotionEvent event) |
145 | 145 |
{ |
146 |
return mObjectController.onTouchEvent(event,mTouchMode); |
|
146 |
mInterface.setMotionEvent(event); |
|
147 |
return mObjectController.onTouchEvent(mTouchMode); |
|
147 | 148 |
} |
148 | 149 |
} |
149 | 150 |
|
Also available in: Unified diff
Move the interaction with touchscreen to the OSInterface