Added leavePlace() for games where you are sometimes not in any "place" at

all.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3638 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-06-30 00:02:13 +00:00
parent c1691c3d0a
commit a213847eea
5 changed files with 50 additions and 2 deletions
@@ -75,6 +75,15 @@ public class LocationProvider
listener.moveSucceeded(moveTo((BodyObject)caller, placeId));
}
/**
* Requests that we leave our current place and move to nowhere land.
*/
public void leavePlace (ClientObject caller)
throws InvocationException
{
leaveOccupiedPlace((BodyObject)caller);
}
/**
* Moves the specified body from whatever location they currently
* occupy to the location identified by the supplied place id.