[Pogamut-list] Number of NavPoints (originally posted by BEvans)

jakub.gemrot pogamut-forum at diana.ms.mff.cuni.cz
Wed Feb 20 15:39:27 CET 2013


Re: Number of NavPoints (originally posted by BEvans)

Author: jakub.gemrot

Yes,
please note that "pause()" operation is not blocking.

You should use WaitForAgentStateChange class after you call pause() and wait till the agent get into 
the IAgentStatePaused.class state.

new WaitForAgentStateChange(agent.getState(), IAganeStatePaused.class).await()

same for resuming and IAgentStateRunning.class

Cheers!
Jimmy

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=6&comments_parentId=1134&post_reply=1#form>




More information about the Pogamut-list mailing list