protected static class Pentomino.Piece extends Object implements Pentomino.ColumnName
Constructor and Description |
---|
Pentomino.Piece(String name,
String shape,
boolean flippable,
int[] rotations) |
Modifier and Type | Method and Description |
---|---|
boolean |
getFlippable() |
String |
getName() |
int[] |
getRotations() |
boolean[][] |
getShape(boolean flip,
int rotate) |
public String getName()
public int[] getRotations()
public boolean getFlippable()
public boolean[][] getShape(boolean flip, int rotate)
Copyright © 2013 Apache Software Foundation. All rights reserved.