Talk:AI Scenery objects

From FlightGear wiki
Revision as of 19:07, 10 November 2018 by Hooray (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

PropertyTree and Canvas.png

Hi, Regarding AI_Scenery_Objects#Status_as_of_November_2018, you will probably want to take a look at the SGPropertyChangeListener API, and specifically the PropertyBasedMgr abstration, which is the workhorse of the whole Canvas system. While these APIs were originally used/inspired by the way the AI system works, they have surpassed those capabilities long ago.

HTH

--Hooray (talk) 11:54, 9 November 2018 (EST)

I just launched a merge request with my solution, that uses a PropertyListener. I hope it meets your proposal.

ThomasS (talk) 11:32, 10 November 2018 (EST)

Please don't worry, I was only hoping to provide helpful pointers to save you a bit of time.--Hooray (talk) 14:07, 10 November 2018 (EST)