SFML 2.0: is sf::String the same as sf::String in version 1.6

Started by
0 comments, last by Washu 12 years, 1 month ago
hi,

i read the document of sf::String class. but it seen version 2.0's String doesnt have SetColor and SetPosition methods. does version 2.0 has anything that is similar to 1.6? i am trying to change my program to version 2.0 from 1.6.

for example, the following codes are no more correct in version 2.0. are there alternatives for them in version 2.0?

sf::String text("NO WINNER");
text.SetColor(sf::Color(0, 0, 0));
text.SetSize(40);
text.Move(hw-140.f, hh-20);
myWindow.Draw(text);

thanks
Advertisement
Don't double post.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

This topic is closed to new replies.

Advertisement