Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Object Properties  (Read 8246 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 6
    • View Profile
Object Properties
« on: August 23, 2015, 10:49:58 pm »
i was looking through the SFML-Wiki and I found this article about object property management :

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


  • Hero Member
  • *****
  • Posts: 3075
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Object Properties
« Reply #1 on: August 23, 2015, 11:41:53 pm »
Looks a lot more like TProperty than IProperty.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

Hapaxia Links