More Name conversion.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2992 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2004-04-09 17:36:47 +00:00
parent 1d474b4863
commit 7308feea9b
2 changed files with 8 additions and 4 deletions
@@ -1,8 +1,10 @@
//
// $Id: TurnGameController.java,v 1.5 2004/02/25 14:44:54 mdb Exp $
// $Id: TurnGameController.java,v 1.6 2004/04/09 17:36:47 ray Exp $
package com.threerings.parlor.turn;
import com.threerings.util.Name;
/**
* Games that wish to make use of the turn game services should have their
* controller implement this interface and create an instance of {@link
@@ -18,5 +20,5 @@ public interface TurnGameController
*
* @param turnHolder the username of the new holder of the turn.
*/
public void turnDidChange (String turnHolder);
public void turnDidChange (Name turnHolder);
}
@@ -1,8 +1,10 @@
//
// $Id: TurnGameControllerDelegate.java,v 1.4 2002/10/15 23:07:23 shaper Exp $
// $Id: TurnGameControllerDelegate.java,v 1.5 2004/04/09 17:36:47 ray Exp $
package com.threerings.parlor.turn;
import com.threerings.util.Name;
import com.threerings.presents.dobj.AttributeChangedEvent;
import com.threerings.presents.dobj.AttributeChangeListener;
@@ -95,7 +97,7 @@ public class TurnGameControllerDelegate extends GameControllerDelegate
{
// handle turn changes
if (event.getName().equals(_thfield)) {
_tgctrl.turnDidChange((String)event.getValue());
_tgctrl.turnDidChange((Name)event.getValue());
}
}