Eclipse suggested cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2971 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
//
|
||||
// $Id: DropBlockSprite.java,v 1.2 2003/12/31 01:26:23 ray Exp $
|
||||
// $Id: DropBlockSprite.java,v 1.3 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.client;
|
||||
|
||||
import java.awt.Rectangle;
|
||||
|
||||
import com.threerings.puzzle.Log;
|
||||
|
||||
/**
|
||||
* The drop block sprite represents a block of multiple pieces that can be
|
||||
* rotated to any of the four cardinal compass directions. As such, it
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DropBoardView.java,v 1.2 2003/11/26 02:07:45 mdb Exp $
|
||||
// $Id: DropBoardView.java,v 1.3 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.client;
|
||||
|
||||
@@ -8,16 +8,12 @@ import java.awt.Dimension;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Point;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.Shape;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import com.samskivert.swing.Label;
|
||||
|
||||
import com.threerings.media.image.Mirage;
|
||||
import com.threerings.media.sprite.Sprite;
|
||||
|
||||
import com.threerings.puzzle.Log;
|
||||
import com.threerings.puzzle.client.PuzzleBoardView;
|
||||
import com.threerings.puzzle.client.ScoreAnimation;
|
||||
import com.threerings.puzzle.data.Board;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DropControllerDelegate.java,v 1.2 2003/12/31 01:26:23 ray Exp $
|
||||
// $Id: DropControllerDelegate.java,v 1.3 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.client;
|
||||
|
||||
@@ -11,13 +11,10 @@ import java.awt.event.ActionEvent;
|
||||
import java.util.List;
|
||||
|
||||
import com.samskivert.util.IntListUtil;
|
||||
import com.samskivert.util.StringUtil;
|
||||
import com.threerings.util.DirectionUtil;
|
||||
|
||||
import com.threerings.media.FrameParticipant;
|
||||
import com.threerings.media.animation.Animation;
|
||||
import com.threerings.media.animation.AnimationAdapter;
|
||||
import com.threerings.media.sprite.Sprite;
|
||||
|
||||
import com.threerings.crowd.data.PlaceConfig;
|
||||
import com.threerings.crowd.util.CrowdContext;
|
||||
@@ -36,7 +33,6 @@ import com.threerings.puzzle.drop.data.DropCodes;
|
||||
import com.threerings.puzzle.drop.data.DropConfig;
|
||||
import com.threerings.puzzle.drop.data.DropLogic;
|
||||
import com.threerings.puzzle.drop.data.DropPieceCodes;
|
||||
import com.threerings.puzzle.drop.util.DropBoardUtil;
|
||||
import com.threerings.puzzle.drop.util.DropPieceProvider;
|
||||
import com.threerings.puzzle.drop.util.PieceDropLogic;
|
||||
import com.threerings.puzzle.drop.util.PieceDropper.PieceDropInfo;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DropSprite.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: DropSprite.java,v 1.2 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.client;
|
||||
|
||||
@@ -13,9 +13,6 @@ import com.threerings.util.DirectionUtil;
|
||||
|
||||
import com.threerings.media.image.Mirage;
|
||||
import com.threerings.media.sprite.Sprite;
|
||||
import com.threerings.media.tile.TileManager;
|
||||
|
||||
import com.threerings.puzzle.Log;
|
||||
|
||||
/**
|
||||
* The drop sprite is a sprite that displays one or more pieces falling
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
//
|
||||
// $Id: NextBlockView.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: NextBlockView.java,v 1.2 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.client;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Rectangle;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import com.threerings.media.image.Mirage;
|
||||
import com.threerings.util.DirectionCodes;
|
||||
|
||||
@@ -1,21 +1,17 @@
|
||||
//
|
||||
// $Id: DropBoard.java,v 1.3 2003/12/31 01:26:23 ray Exp $
|
||||
// $Id: DropBoard.java,v 1.4 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.data;
|
||||
|
||||
import java.awt.Point;
|
||||
import java.awt.Rectangle;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.lang.Strings;
|
||||
|
||||
import com.threerings.util.DirectionCodes;
|
||||
import com.threerings.util.DirectionUtil;
|
||||
|
||||
import com.threerings.puzzle.Log;
|
||||
import com.threerings.puzzle.data.Board;
|
||||
import com.threerings.puzzle.drop.client.DropControllerDelegate;
|
||||
import com.threerings.puzzle.drop.data.DropPieceCodes;
|
||||
import com.threerings.puzzle.drop.util.DropBoardUtil;
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
//
|
||||
// $Id: SegmentInfo.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: SegmentInfo.java,v 1.2 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.data;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
import com.threerings.util.DirectionCodes;
|
||||
|
||||
/**
|
||||
* Describes a segment of pieces in a {@link DropBoard}.
|
||||
*/
|
||||
|
||||
@@ -1,31 +1,21 @@
|
||||
//
|
||||
// $Id: DropManagerDelegate.java,v 1.2 2003/11/26 03:17:16 mdb Exp $
|
||||
// $Id: DropManagerDelegate.java,v 1.3 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.server;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.threerings.util.MessageBundle;
|
||||
|
||||
import com.threerings.crowd.data.PlaceConfig;
|
||||
import com.threerings.crowd.data.PlaceObject;
|
||||
|
||||
import com.threerings.parlor.game.GameManager;
|
||||
|
||||
import com.threerings.puzzle.Log;
|
||||
import com.threerings.puzzle.data.Board;
|
||||
import com.threerings.puzzle.data.BoardSummary;
|
||||
import com.threerings.puzzle.data.PuzzleCodes;
|
||||
import com.threerings.puzzle.data.PuzzleObject;
|
||||
import com.threerings.puzzle.server.PuzzleManager;
|
||||
import com.threerings.puzzle.server.PuzzleManagerDelegate;
|
||||
|
||||
import com.threerings.puzzle.drop.data.DropBoard;
|
||||
import com.threerings.puzzle.drop.data.DropBoardSummary;
|
||||
import com.threerings.puzzle.drop.data.DropCodes;
|
||||
import com.threerings.puzzle.drop.data.DropConfig;
|
||||
import com.threerings.puzzle.drop.data.DropLogic;
|
||||
import com.threerings.puzzle.drop.util.DropPieceProvider;
|
||||
import com.threerings.puzzle.drop.util.PieceDropLogic;
|
||||
import com.threerings.puzzle.drop.util.PieceDropper;
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
//
|
||||
// $Id: DropBoardUtil.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: DropBoardUtil.java,v 1.2 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.util;
|
||||
|
||||
import com.threerings.util.DirectionCodes;
|
||||
|
||||
import com.threerings.puzzle.drop.data.DropBoard;
|
||||
|
||||
public class DropBoardUtil
|
||||
implements DirectionCodes
|
||||
{
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
//
|
||||
// $Id: PieceDropLogic.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: PieceDropLogic.java,v 1.2 2004/02/25 14:48:44 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.util;
|
||||
|
||||
import com.threerings.util.DirectionCodes;
|
||||
import com.threerings.puzzle.drop.data.DropBoard;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user