SFML community forums

General => SFML wiki => Topic started by: Kyoukan97 on August 23, 2015, 10:49:58 pm

Title: Object Properties
Post by: Kyoukan97 on August 23, 2015, 10:49:58 pm
Hi,
i was looking through the SFML-Wiki and I found this article about object property management :
https://github.com/SFML/SFML/wiki/Tutorial%3A-Object-Properties (https://github.com/SFML/SFML/wiki/Tutorial%3A-Object-Properties)

Can someone explain, how he is able to call "getValue()" & "setValue()" in the member functions get/set of the PropertyManager ? The member variable mList stores an object of type IProperty* , and those functions are no members of that class? I don't get how he does that ^^

P.s My english isnt the best, dont judge  :D
Title: Re: Object Properties
Post by: Hapax on August 23, 2015, 11:41:53 pm
Looks a lot more like TProperty than IProperty.