I am currently learning SFML, i am following tutorial.
I came across a point that i am suposed to do this
sf::Sprite MySpriteName;
MySpriteName.SetImage(image,true);
//Except sf::Sprite.SetImage does not exist.
I included everything
<SFML/Window.hpp>
<SFML/Graphics.hpp>
<SFML/System.hpp>
Only thing it has is Texture, and i am reading its not same thing...
A guy downloaded SFML 2.0 linked it, and used that code...
My IDE does not provide it as possibility, and compiler is giving me error:
C:\c++ Project\The Knight of Avalion2\Tile.cpp|5|error: 'class sf::Sprite' has no member named 'SetImage'|
EDIT:
Here is what sf::Sprite class holds from official site
http://www.sfml-dev....f_1_1Sprite.php
Question is, are sf::Texture replacing sf::Image cause there is still sf::Image in the class, but i cant use it...