/** These constants need to be the same in a few different files. Rather than * define them in one and refer to them there, this way they are guaranteed * the same in everything that interfaces this. * * @author Russell Young tetrii@young-0.com * @version 1.0 */ /* Feel free to use, distribute, or change, with the only restriction that you * should not remove my name from the original code, and you should document * your changes so there is no confusion about whose bugs they are. */ interface Constants { static final int CLOCKWISE = 0; static final int COUNTERCLOCKWISE = 1; static final int LEFT = 0; static final int UP = 1; static final int RIGHT = 2; static final int DOWN = 3; static final int CELLS_PER_PIECE = 4; static final int CELL_HEIGHT = 20; static final int CELL_WIDTH = 20; }