forked from NaiJi/project-kyoku
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
384 B
C++
17 lines
384 B
C++
#pragma once
|
|
|
|
#include "sprite.h"
|
|
#include "SFML/Graphics/RectangleShape.hpp"
|
|
|
|
class ClassicSprite : public Sprite, public sf::Drawable
|
|
{
|
|
public:
|
|
ClassicSprite(const sf::RectangleShape& shape);
|
|
virtual void draw(sf::RenderTarget& target, sf::RenderStates states) const override;
|
|
|
|
void setCoordinates(float x, float y) noexcept;
|
|
|
|
private:
|
|
sf::RectangleShape _shape;
|
|
};
|