Project

General

Profile

« Previous | Next » 

Revision 3103c3c8

Added by Leszek Koltunski about 1 year ago

Move opening local files to the OSInterface

View differences:

src/main/java/org/distorted/objectlib/tablebases/TBPyraminxDiamond.java
11 11

  
12 12
import static org.distorted.objectlib.main.TwistyObject.SQ2;
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

  
......
51 50

  
52 51
///////////////////////////////////////////////////////////////////////////////////////////////////
53 52

  
54
  public TBPyraminxDiamond(Resources res)
53
  public TBPyraminxDiamond(OperatingSystemInterface os)
55 54
    {
56
    super(res, new int[] {R.raw.pdia_3_pruning3,R.raw.pdia_3_pruning4}, new int[] {R.raw.pdia_3_pruning10});
55
    super(os, new int[] {R.raw.pdia_3_pruning3,R.raw.pdia_3_pruning4}, new int[] {R.raw.pdia_3_pruning10});
57 56
    }
58 57

  
59 58
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff