Talk:AI Scenery objects: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(re: property interface for C++ subsystem)
 
No edit summary
Line 11: Line 11:


--[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 11:54, 9 November 2018 (EST)
--[[User:Hooray|Hooray]] ([[User talk: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.
[[User:ThomasS|ThomasS]] ([[User talk:ThomasS|talk]]) 11:32, 10 November 2018 (EST)

Revision as of 16:32, 10 November 2018

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)