Revision 3103c3c8
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TBSkewb.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import static org.distorted.objectlib.main.TwistyObject.SQ3; |
13 | 13 |
|
14 |
import android.content.res.Resources; |
|
15 |
|
|
16 | 14 |
import org.distorted.library.type.Static3D; |
17 | 15 |
import org.distorted.objectlib.R; |
16 |
import org.distorted.objectlib.helpers.OperatingSystemInterface; |
|
18 | 17 |
|
19 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
20 | 19 |
|
... | ... | |
62 | 61 |
|
63 | 62 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
64 | 63 |
|
65 |
public TBSkewb(Resources res)
|
|
64 |
public TBSkewb(OperatingSystemInterface os)
|
|
66 | 65 |
{ |
67 |
super(res,new int[] {R.raw.skew_2_pruning4,R.raw.skew_2_pruning5},new int[]{R.raw.skew_2_pruning11}); |
|
68 |
//super(res, R.raw.skew_2_tablebase); |
|
66 |
super(os,new int[] {R.raw.skew_2_pruning4,R.raw.skew_2_pruning5},new int[]{R.raw.skew_2_pruning11}); |
|
69 | 67 |
} |
70 | 68 |
|
71 | 69 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Move opening local files to the OSInterface