public void cancelMove ( ) { if ( _path != null ) { Path oldpath = _path ; _path = null ; oldpath . wasRemoved ( this ) ; if ( _observers != null ) { _observers . apply ( new CancelledOp ( this , oldpath ) ) ; } } }
Cancels any path that the sprite may currently be moving along .