git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1029 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2010-10-15 20:15:58 +00:00
parent 74322e54a9
commit 8df1d713f2
4 changed files with 7 additions and 7 deletions
@@ -170,7 +170,7 @@ public abstract class FrameManager
* Instructs the frame manager to target the specified number of frames per second. If the * Instructs the frame manager to target the specified number of frames per second. If the
* computation and rendering for a frame are completed with time to spare, the frame manager * computation and rendering for a frame are completed with time to spare, the frame manager
* will wait until the proper time to begin processing for the next frame. If a frame takes * will wait until the proper time to begin processing for the next frame. If a frame takes
* longer than its alotted time, the frame manager will immediately begin processing on the * longer than its allotted time, the frame manager will immediately begin processing on the
* next frame. * next frame.
*/ */
public void setTargetFrameRate (int fps) public void setTargetFrameRate (int fps)
@@ -765,7 +765,7 @@ public abstract class FrameManager
/** Used to lazily set the clip when painting popups and other "layered" components. */ /** Used to lazily set the clip when painting popups and other "layered" components. */
protected boolean[] _clipped = new boolean[1]; protected boolean[] _clipped = new boolean[1];
/** The entites that are ticked each frame. */ /** The entities that are ticked each frame. */
protected Object[] _participants = new Object[4]; protected Object[] _participants = new Object[4];
/** If we don't get ticked for 500ms, that's worth complaining about. */ /** If we don't get ticked for 500ms, that's worth complaining about. */
@@ -57,7 +57,7 @@ public interface FrameParticipant
* <p> Because clipping is expensive in terms of rectangle object * <p> Because clipping is expensive in terms of rectangle object
* allocation, frame participants are given the opportunity to do * allocation, frame participants are given the opportunity to do
* their own clipping because they are likely to want to clip to a * their own clipping because they are likely to want to clip to a
* more fine grained region than their entire bounds. If a particpant * more fine grained region than their entire bounds. If a participant
* does not wish to be actively rendered, it can safely return null. * does not wish to be actively rendered, it can safely return null.
*/ */
public Component getComponent (); public Component getComponent ();
@@ -90,7 +90,7 @@ public class MetaMediaManager
} }
/** /**
* Returns the region manager used to coordiante our dirty regions. * Returns the region manager used to coordinate our dirty regions.
*/ */
public RegionManager getRegionManager () public RegionManager getRegionManager ()
{ {
@@ -217,7 +217,7 @@ public class MetaMediaManager
} }
/** /**
* Our media front end should implement {@link FrameParticipant} and call this methed in their * Our media front end should implement {@link FrameParticipant} and call this method in their
* {@link FrameParticipant#tick} method. They must also first check {@link #isPaused} and not * {@link FrameParticipant#tick} method. They must also first check {@link #isPaused} and not
* call this method if we are paused. As they will probably want to have willTick() and * call this method if we are paused. As they will probably want to have willTick() and
* didTick() calldown methods, we cannot handle pausedness for them. * didTick() calldown methods, we cannot handle pausedness for them.
@@ -271,7 +271,7 @@ public class MetaMediaManager
} }
/** /**
* Our media front end should implement {@link FrameParticipant} and call this methed in their * Our media front end should implement {@link FrameParticipant} and call this method in their
* {@link FrameParticipant#needsPaint} method. * {@link FrameParticipant#needsPaint} method.
*/ */
public boolean needsPaint () public boolean needsPaint ()
@@ -34,7 +34,7 @@ import com.threerings.media.util.Path;
import com.threerings.media.util.Pathable; import com.threerings.media.util.Pathable;
/** /**
* The sprite class represents a single moveable object in an animated view. A sprite has a * The sprite class represents a single movable object in an animated view. A sprite has a
* position and orientation within the view, and can be moved along a path. * position and orientation within the view, and can be moved along a path.
*/ */
public abstract class Sprite extends AbstractMedia public abstract class Sprite extends AbstractMedia