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/TwistyMirror.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_NOT_SPLIT;
22
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_HEXAHEDRON;
23
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
24 24

  
25 25
import java.io.InputStream;
26 26

  
......
584 584

  
585 585
  public int getMovementType()
586 586
    {
587
    return MOVEMENT_HEXAHEDRON;
587
    return TC_HEXAHEDRON;
588 588
    }
589 589

  
590 590
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff