# HG changeset patch # User Matti Hamalainen # Date 1298347431 -7200 # Node ID 698c6bcc4aecbf9fde25560c6faa0b366bd30238 # Parent 9664bbb9d613bbbf1c9933521d3c2132001417ae Cleanups. diff -r 9664bbb9d613 -r 698c6bcc4aec game/Engine.java --- a/game/Engine.java Tue Feb 22 06:01:14 2011 +0200 +++ b/game/Engine.java Tue Feb 22 06:03:51 2011 +0200 @@ -254,16 +254,13 @@ if (currPiece != null) { // Hit center starting piece - currPiece.setType(PieceType.LOCKED); - currPiece.setConnectionState(currPiece.getRotatedPoint(currPoint), true); - flagGameOver = true; System.out.print("GameOver!\n"); break; } else { - System.out.print("first piece\n"); + // Start piece as first piece means game is starting pieceMoveTo(currPoint); currPiece = new Piece(PieceType.ACTIVE); board[currX][currY] = currPiece;