Make our intended location available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2366 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SpotSceneDirector.java,v 1.24 2003/03/27 17:24:55 mdb Exp $
|
||||
// $Id: SpotSceneDirector.java,v 1.25 2003/03/31 22:54:09 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.spot.client;
|
||||
|
||||
@@ -77,6 +77,15 @@ public class SpotSceneDirector extends BasicDirector
|
||||
_chatdir = chatdir;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns our current location unless we have a location change
|
||||
* pending, in which case our pending location is returned.
|
||||
*/
|
||||
public Location getIntendedLocation ()
|
||||
{
|
||||
return (_pendingLoc != null) ? _pendingLoc : _location;
|
||||
}
|
||||
|
||||
/**
|
||||
* Requests that this client move to the location specified by the
|
||||
* supplied portal id. A request will be made and when the response is
|
||||
|
||||
Reference in New Issue
Block a user