Project

General

Profile

« Previous | Next » 

Revision 0c5d8bf7

Added by Leszek Koltunski over 2 years ago

FIx some issues with ShapeChanging; implement per-object TouchControlSquare and TouchControlMirror.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare.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_SQUARE;
23 23
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
24 24

  
25 25
import java.io.InputStream;
......
137 137

  
138 138
  public int getTouchControlType()
139 139
    {
140
    return TC_HEXAHEDRON;
140
    return TC_CHANGING_SQUARE;
141 141
    }
142 142

  
143 143
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff