From dc5cb6f5f2ec6d9731a5bc23bbeac1c51b16770b Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Thu, 26 May 2011 17:31:22 +0000 Subject: [PATCH] Javadocify git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1166 ed5b42cb-e716-0410-a449-f6a68f950b19 --- .../com/threerings/media/sprite/ImageSprite.java | 11 ++++++----- .../java/com/threerings/media/sprite/Sprite.java | 16 ++++++++-------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/threerings/media/sprite/ImageSprite.java b/src/main/java/com/threerings/media/sprite/ImageSprite.java index 6f8ebb48..0776e225 100644 --- a/src/main/java/com/threerings/media/sprite/ImageSprite.java +++ b/src/main/java/com/threerings/media/sprite/ImageSprite.java @@ -117,11 +117,12 @@ public class ImageSprite extends Sprite * Sets the animation mode for this sprite. The available modes are: * * * * @param mode the desired animation mode. diff --git a/src/main/java/com/threerings/media/sprite/Sprite.java b/src/main/java/com/threerings/media/sprite/Sprite.java index 2e5cc88f..f101b959 100644 --- a/src/main/java/com/threerings/media/sprite/Sprite.java +++ b/src/main/java/com/threerings/media/sprite/Sprite.java @@ -115,10 +115,10 @@ public abstract class Sprite extends AbstractMedia } /** - * Sprites have an orientation in one of the eight cardinal directions: NORTH, - * NORTHEAST, etc. Derived classes can choose to override this member function and - * select a different set of images based on their orientation, or they can ignore the - * orientation information. + * Sprites have an orientation in one of the eight cardinal directions: + * {@link DirectionCodes#NORTH}, {@link DirectionCodes#NORTHEAST}, etc. Derived classes can + * choose to override this member function and select a different set of images based on their + * orientation, or they can ignore the orientation information. * * @see DirectionCodes */ @@ -129,7 +129,7 @@ public abstract class Sprite extends AbstractMedia /** * Returns the sprite's orientation as one of the eight cardinal directions: - * NORTH, NORTHEAST, etc. + * {@link DirectionCodes#NORTH}, {@link DirectionCodes#NORTHEAST}, etc. * * @see DirectionCodes */ @@ -218,7 +218,7 @@ public abstract class Sprite extends AbstractMedia } /** - * Set the sprite's active path and start moving it along its merry way. If the sprite is + * Set the sprite's active path and start moving it along its merry way. If the sprite is * already moving along a previous path the old path will be lost and the new path will begin * to be traversed. * @@ -289,8 +289,8 @@ public abstract class Sprite extends AbstractMedia /** * Ticks any path assigned to this sprite. * - * @return true if the path relocated the sprite as a result of this - * tick, false if it remained in the same position. + * @return true if the path relocated the sprite as a result of this tick, false if it + * remained in the same position. */ protected boolean tickPath (long tickStamp) {