public enum Rotation
Beschreibt, wie weit eine enum PieceShape gedreht werden soll.
enum PieceShape
public static Rotation NONE
public static Rotation RIGHT
public static Rotation MIRROR
Dreht die Form um 180 grad.
public static Rotation LEFT
@NotNull public Rotation rotate(@NotNull Rotation rotation)
Summiere beide Rotationen auf. (Die resultierende Rotation hat den gleichen Effekt wie die beiden Rotationen einzeln).
@NotNull public java.lang.String toString()
public int getValue()