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

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

  
12
import android.content.res.Resources;
13

  
14 12
import org.distorted.objectlib.R;
13
import org.distorted.objectlib.helpers.OperatingSystemInterface;
15 14

  
16 15
///////////////////////////////////////////////////////////////////////////////////////////////////
17 16

  
......
30 29

  
31 30
///////////////////////////////////////////////////////////////////////////////////////////////////
32 31

  
33
  public TBDino4(Resources res)
32
  public TBDino4(OperatingSystemInterface os)
34 33
    {
35
    super(res, new int[] {R.raw.din4_3_pruning2,R.raw.din4_3_pruning3}, new int[] {R.raw.din4_3_pruning7});
34
    super(os, new int[] {R.raw.din4_3_pruning2,R.raw.din4_3_pruning3}, new int[] {R.raw.din4_3_pruning7});
36 35
    }
37 36

  
38 37
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff