Let's call a PlaceConfig a PlaceConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5282 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -224,7 +224,7 @@ public class LocationDirector extends BasicDirector
|
|||||||
* @return true if everyone is happy with the move, false if it was vetoed by one of the
|
* @return true if everyone is happy with the move, false if it was vetoed by one of the
|
||||||
* location observers.
|
* location observers.
|
||||||
*/
|
*/
|
||||||
public boolean mayMoveTo (final int placeId, ResultListener<Object> rl)
|
public boolean mayMoveTo (final int placeId, ResultListener<PlaceConfig> rl)
|
||||||
{
|
{
|
||||||
final boolean[] vetoed = new boolean[1];
|
final boolean[] vetoed = new boolean[1];
|
||||||
_observers.apply(new ObserverOp<LocationObserver>() {
|
_observers.apply(new ObserverOp<LocationObserver>() {
|
||||||
@@ -583,7 +583,7 @@ public class LocationDirector extends BasicDirector
|
|||||||
protected FailureHandler _failureHandler;
|
protected FailureHandler _failureHandler;
|
||||||
|
|
||||||
/** A listener that wants to know if we succeeded or how we failed to move. */
|
/** A listener that wants to know if we succeeded or how we failed to move. */
|
||||||
protected ResultListener<Object> _moveListener;
|
protected ResultListener<PlaceConfig> _moveListener;
|
||||||
|
|
||||||
/** The operation used to inform observers that the location changed. */
|
/** The operation used to inform observers that the location changed. */
|
||||||
protected ObserverOp<LocationObserver> _didChangeOp = new ObserverOp<LocationObserver>() {
|
protected ObserverOp<LocationObserver> _didChangeOp = new ObserverOp<LocationObserver>() {
|
||||||
|
|||||||
Reference in New Issue
Block a user