Talk:AI Scenery objects: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 15: Line 15:


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

Revision as of 19:07, 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)

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)