I'm unsure if this the right place to ask this so forgive me if this is not supposed to be here but I keep getting the error in the title & despite many searches on the internet I have not been able to find the answer.
Here is the code it relates to:
Graphics.cpp:
#include "Graphics.h"
#include "AppWindow.h"
sf::Sprite g::loadSprite(sf::Texture texture, int ix, int iy, int cx, int cy)
{
}
void g::writeText(sf::Font fontType, const char textValue, const int textSize)
{
}
void g::drawSprite(sf::Sprite, int cx, int cy)
{
}
Graphics.h#ifndef _GRAPHICS_H
#define _GRAPHICS_H
#include "SFML\Graphics.hpp"
class graphics
{
public:
sf::Sprite loadSprite(sf::Texture texture, int rx, int ry, int ix, int iy);
void writeText(sf::Font fontType, sf::Text text, const char textValue, const int textSize);
void drawSprite(sf::Sprite, int cx, int cy);
} g;
#endif
I am very new to using this library as well as c++ so please humor me.
Thanks very much.
Once again sorry if this isn't the right place to put this.