From ae5c9ba187b390aa01c36dde3d853e715f48efb8 Mon Sep 17 00:00:00 2001 From: Walter Korman Date: Mon, 17 Sep 2001 23:55:45 +0000 Subject: [PATCH] Minor comment edits. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@341 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/media/sprite/Sprite.java | 4 ++-- .../com/threerings/media/util/LineSegmentPath.java | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/java/com/threerings/media/sprite/Sprite.java b/src/java/com/threerings/media/sprite/Sprite.java index 307c102cd..0df108c1b 100644 --- a/src/java/com/threerings/media/sprite/Sprite.java +++ b/src/java/com/threerings/media/sprite/Sprite.java @@ -1,5 +1,5 @@ // -// $Id: Sprite.java,v 1.22 2001/09/17 23:25:26 shaper Exp $ +// $Id: Sprite.java,v 1.23 2001/09/17 23:55:45 shaper Exp $ package com.threerings.media.sprite; @@ -477,7 +477,7 @@ public class Sprite /** * This should be overridden by derived classes (which should be sure * to call super.toString()) to append the derived class - * specific event information to the string buffer. + * specific sprite information to the string buffer. */ protected void toString (StringBuffer buf) { diff --git a/src/java/com/threerings/media/util/LineSegmentPath.java b/src/java/com/threerings/media/util/LineSegmentPath.java index 76c560532..2543d68da 100644 --- a/src/java/com/threerings/media/util/LineSegmentPath.java +++ b/src/java/com/threerings/media/util/LineSegmentPath.java @@ -1,5 +1,5 @@ // -// $Id: LineSegmentPath.java,v 1.9 2001/09/13 19:10:26 mdb Exp $ +// $Id: LineSegmentPath.java,v 1.10 2001/09/17 23:55:45 shaper Exp $ package com.threerings.media.sprite; @@ -95,9 +95,11 @@ public class LineSegmentPath implements Path /** * Sets the velocity of this sprite in pixels per millisecond. The - * velocity is measured as pixels traversed along the path that the - * sprite is traveling rather than in the x or y directions - * individually. + * velocity is measured as pixels traversed along the path that + * the sprite is traveling rather than in the x or y directions + * individually. Note that the sprite velocity should not be + * changed while a path is being traversed; doing so may result in + * the sprite position changing unexpectedly. * * @param velocity the sprite velocity in pixels per millisecond. */