pathBeginning() and pathCompleted() need to be public so that we can
create paths outside the media.sprite package. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1407 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: CharacterSprite.java,v 1.30 2002/05/15 23:54:04 mdb Exp $
|
||||
// $Id: CharacterSprite.java,v 1.31 2002/05/29 23:27:14 mdb Exp $
|
||||
|
||||
package com.threerings.cast;
|
||||
|
||||
@@ -168,7 +168,7 @@ public class CharacterSprite extends ImageSprite
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void pathBeginning ()
|
||||
public void pathBeginning ()
|
||||
{
|
||||
super.pathBeginning();
|
||||
|
||||
@@ -178,7 +178,7 @@ public class CharacterSprite extends ImageSprite
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void pathCompleted ()
|
||||
public void pathCompleted ()
|
||||
{
|
||||
super.pathCompleted();
|
||||
halt();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Sprite.java,v 1.43 2002/04/25 16:23:30 mdb Exp $
|
||||
// $Id: Sprite.java,v 1.44 2002/05/29 23:27:14 mdb Exp $
|
||||
|
||||
package com.threerings.media.sprite;
|
||||
|
||||
@@ -292,7 +292,7 @@ public abstract class Sprite
|
||||
/**
|
||||
* Called by the active path when it begins.
|
||||
*/
|
||||
protected void pathBeginning ()
|
||||
public void pathBeginning ()
|
||||
{
|
||||
// nothing for now
|
||||
}
|
||||
@@ -300,7 +300,7 @@ public abstract class Sprite
|
||||
/**
|
||||
* Called by the active path when it has completed.
|
||||
*/
|
||||
protected void pathCompleted ()
|
||||
public void pathCompleted ()
|
||||
{
|
||||
// keep a reference to the path just completed
|
||||
Path oldpath = _path;
|
||||
|
||||
Reference in New Issue
Block a user