[Pogamut-list] PathNode Post-processing

jakub.gemrot pogamut-forum at diana.ms.mff.cuni.cz
Sun Aug 1 10:38:20 CEST 2010


Re: PathNode Post-processing

Author: jakub.gemrot

Hi!

I've been off to a short holiday :-) so sorry that we've left this post unattended.

Well I think I will have to disappoint you. All objects in PogamutUT2004 (NavPoint, Item, Player...) have protected field so there is only a shady way how to change that
1) via Reflection API
2) creating your own implementation of IWorldObjectUpdatedEvent that will lie in the same package as NavPoint that will change some of its protected fields.

Well - you're not developing a library so both techniques are ok to use.
I would do that probably in botInitialized() method.

Cheers,
Jimmy

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





More information about the Pogamut-list mailing list