Moved PieceSettings from constructor to method nextPiece in PieceGenerator.