I have a problem with the String class. I get an Error saying that certain functions such as SetFont and SetScale are not part of sf::String class. I want to be able to draw text onto the screen
sf::RenderWindow Window;
...
Window.Draw (Text);
but this problem is getting me into some errors. This is what I have so far along with the lines above:
sf::String Text = "Nacho Cheese";
Text.SetFont(sf::Font::GetDefaultFont());
Text.SetScale(2.f, 2.f);
I have a feeling the error has something to do with making a Text class item, but I have no idea. Anyone know what I'm doing wrong?