Project

General

Profile

« Previous | Next » 

Revision 92a6fc8b

Added by Leszek Koltunski over 2 years ago

Implement example ShapreChanging object control and convert the Mirror Cube to use it.

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

  
25 25
import java.io.InputStream;
......
584 584

  
585 585
  public int getTouchControlType()
586 586
    {
587
    return TC_HEXAHEDRON;
587
    return TC_CHANGING;
588 588
    }
589 589

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

Also available in: Unified diff