Revision 3103c3c8
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TBJing.java | ||
---|---|---|
14 | 14 |
import static org.distorted.objectlib.main.TwistyObject.SQ6; |
15 | 15 |
import static org.distorted.objectlib.objects.TwistyJing.F; |
16 | 16 |
|
17 |
import android.content.res.Resources; |
|
18 |
|
|
19 | 17 |
import org.distorted.library.type.Static3D; |
20 | 18 |
import org.distorted.objectlib.R; |
19 |
import org.distorted.objectlib.helpers.OperatingSystemInterface; |
|
21 | 20 |
|
22 | 21 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
23 | 22 |
|
... | ... | |
42 | 41 |
|
43 | 42 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
44 | 43 |
|
45 |
public TBJing(Resources res)
|
|
44 |
public TBJing(OperatingSystemInterface os)
|
|
46 | 45 |
{ |
47 |
super(res, new int[] {R.raw.jing_2_pruning4 ,R.raw.jing_2_pruning5 },
|
|
48 |
new int[] {R.raw.jing_2_pruning11,R.raw.jing_2_pruning12} );
|
|
46 |
super(os, new int[] {R.raw.jing_2_pruning4 ,R.raw.jing_2_pruning5 },
|
|
47 |
new int[] {R.raw.jing_2_pruning11,R.raw.jing_2_pruning12} ); |
|
49 | 48 |
} |
50 | 49 |
|
51 | 50 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Move opening local files to the OSInterface