Project

General

Profile

« Previous | Next » 

Revision c9c71c3f

Added by Leszek Koltunski over 2 years ago

Abstract out the TouchControl stuff in preparation for its new type - TouchControlShapeChanging.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyDino.java
19 19

  
20 20
package org.distorted.objectlib.objects;
21 21

  
22
import static org.distorted.objectlib.movement.Movement.MOVEMENT_HEXAHEDRON;
23
import static org.distorted.objectlib.movement.Movement.TYPE_SPLIT_CORNER;
22
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_HEXAHEDRON;
23
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_SPLIT_CORNER;
24 24

  
25 25
import java.io.InputStream;
26 26

  
......
118 118

  
119 119
  public int getMovementType()
120 120
    {
121
    return MOVEMENT_HEXAHEDRON;
121
    return TC_HEXAHEDRON;
122 122
    }
123 123

  
124 124
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff