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/TBCube2.java
9 9

  
10 10
package org.distorted.objectlib.tablebases;
11 11

  
12
import android.content.res.Resources;
13

  
14 12
import org.distorted.library.type.Static3D;
15 13
import org.distorted.objectlib.R;
14
import org.distorted.objectlib.helpers.OperatingSystemInterface;
16 15

  
17 16
///////////////////////////////////////////////////////////////////////////////////////////////////
18 17

  
......
39 38

  
40 39
///////////////////////////////////////////////////////////////////////////////////////////////////
41 40

  
42
  public TBCube2(Resources res)
41
  public TBCube2(OperatingSystemInterface os)
43 42
    {
44
    super(res, new int[] {R.raw.cube_2_pruning4,R.raw.cube_2_pruning5}, new int[] {R.raw.cube_2_pruning11} );
43
    super(os, new int[] {R.raw.cube_2_pruning4,R.raw.cube_2_pruning5}, new int[] {R.raw.cube_2_pruning11} );
45 44
    }
46 45

  
47 46
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff