| 列挙型定数と説明 | 
|---|
| CLOCKWISE_180 | 
| CLOCKWISE_90 | 
| COUNTERCLOCKWISE_90 | 
| NONE | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| Rotation | add(Rotation rotation) | 
| static Rotation | randomRotation(java.util.Random rand)Chooses a random rotation from  Rotation. | 
| Direction | rotate(Direction facing) | 
| int | rotate(int p_185833_1_,
      int p_185833_2_) | 
| static java.util.List<Rotation> | shuffledRotations(java.util.Random rand)Generates a shuffled list with all rotations. | 
| static Rotation | valueOf(java.lang.String name)指定した名前を持つこの型の列挙型定数を返します。 | 
| static Rotation[] | values()この列挙型の定数を含む配列を宣言されている順序で返します。 | 
public static final Rotation NONE
public static final Rotation CLOCKWISE_90
public static final Rotation CLOCKWISE_180
public static final Rotation COUNTERCLOCKWISE_90
public static Rotation[] values()
for(Rotation c: Rotation.values()) System.out.println(c);
public static Rotation valueOf(java.lang.String name)
name - 返される列挙型定数の名前。java.lang.IllegalArgumentException - この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException - 引数がnullの場合public int rotate(int p_185833_1_,
                  int p_185833_2_)
public static Rotation randomRotation(java.util.Random rand)
Rotation.public static java.util.List<Rotation> shuffledRotations(java.util.Random rand)