SFML community forums
General => Feature requests => Topic started by: heishe on July 18, 2008, 06:53:24 pm
-
Is this not possible because of the class hierarchy? Sounds weird to me because drawable has "SetPosition" but no "GetPosition" method.
Would it be possible to add taht in future versions? I'm currently writing a 2D Game Framework using sfml and clipping doesn't work at the moment because i can't get the position of my sf::Drawables inside my SceneManager class :)
greetings,
travis
btw: great library. way better than SDL or anything else i've seen so far.
-
There is a sf::Drawable::GetPosition method. :shock:
-
There is a sf::Drawable::GetPosition method. :shock:
that's weird... maybe a vc issue... (i use the 2005 edition which is vc8 i think)... gonna look into this a little more and check back here.
-
that's weird... maybe a vc issue...
Well, the function is defined in the headers and compiled in the libraries for sure, so why do you say it's not there ? Any compiler / linker error ?
-
Did you watch the intellisense list? Or doesn't the code work if you use a GetPosition() method?
In VC++, the intellisense database is sometimes upset. Rebuilding the project or whole solution and deleting the database file (*.ncb) will help.
-
Did you watch the intellisense list? Or doesn't the code work if you use a GetPosition() method?
In VC++, the intellisense database is sometimes upset. Rebuilding the project or whole solution and deleting the database file (*.ncb) will help.
it was something completely different and i dont want to go into it because i dont want to embarass myself :D