#include #include "Sprite.h" Sprite::Sprite() { std::cout << "Sprite::Sprite(): Sprite created.\n"; isVisible = true; } int Sprite::getX() { return x; } int Sprite::getY() { return y; } void Sprite::setX(int x) { this->x = x; } void Sprite::setY(int y) { this->y = y; } bool Sprite::visible() { return isVisible; } bool Sprite::loadImage(std::string path) { std::cout << "Sprite::loadImage(): Loading sprite " << path << ".\n"; }