Project

General

Profile

« Previous | Next » 

Revision 318c0a7d

Added by Leszek Koltunski over 2 years ago

Reename ObjectList to a more logical ObjectType.

View differences:

src/main/java/org/distorted/solvers/ImplementedSolversList.java
19 19

  
20 20
package org.distorted.solvers;
21 21

  
22
import org.distorted.objectlib.main.ObjectList;
22
import org.distorted.objectlib.main.ObjectType;
23 23

  
24 24
///////////////////////////////////////////////////////////////////////////////////////////////////
25 25

  
26 26
public enum ImplementedSolversList
27 27
{
28
  CUBE3 ( ObjectList.CUBE_3),
28
  CUBE3 ( ObjectType.CUBE_3),
29 29
  ;
30 30

  
31 31
  public static final int NUM_OBJECTS = values().length;
32 32

  
33
  private final ObjectList mObject;
33
  private final ObjectType mObject;
34 34

  
35 35
  private static final ImplementedSolversList[] objects;
36 36

  
......
47 47

  
48 48
///////////////////////////////////////////////////////////////////////////////////////////////////
49 49

  
50
  public static ObjectList getObject(int ordinal)
50
  public static ObjectType getObject(int ordinal)
51 51
    {
52 52
    return objects[ordinal].mObject;
53 53
    }
54 54

  
55 55
///////////////////////////////////////////////////////////////////////////////////////////////////
56 56

  
57
  ImplementedSolversList(ObjectList object)
57
  ImplementedSolversList(ObjectType object)
58 58
    {
59 59
    mObject= object;
60 60
    }

Also available in: Unified diff