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/TBDino6.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

  
......
29 28

  
30 29
///////////////////////////////////////////////////////////////////////////////////////////////////
31 30

  
32
  public TBDino6(Resources res)
31
  public TBDino6(OperatingSystemInterface os)
33 32
    {
34
    super(res,new int[] {R.raw.dino_3_pruning3,R.raw.dino_3_pruning4},new int[] {R.raw.dino_3_pruning10});
33
    super(os,new int[] {R.raw.dino_3_pruning3,R.raw.dino_3_pruning4},new int[] {R.raw.dino_3_pruning10});
35 34
    }
36 35

  
37 36
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff