[Pogamut-list] Threads

fireball787b pogamut-forum at diana.ms.mff.cuni.cz
Wed Feb 20 16:20:41 CET 2013


Re: Threads

Author: fireball787b

so i have to do a new list var to save this:

new WaitForAgentStateChange(((SmartBot)botInstances.get(i).getController()).getBot().pause(), IAgentStatePaused.class).await();

but when i do it appears an error saying " 'void' type not allowed here" so i understand that botInstances is void?

another question. when the thread is blocked it reaches the new state "paused" right? but when it reaches this state, i guess that the bot has finished the logic block iteration right? or it could get into the paused state when it's in the middle of the logic block?

Thanks for everything!
I'ld but you a pata negra ham!!

Joan Marc.

-- 
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