holesome/src/primitives/circle_object.h

25 lines
446 B
C
Raw Normal View History

2023-04-27 23:05:19 +02:00
//
// Created by max on 27.04.23.
//
#ifndef HOLESOME_CIRCLE_OBJECT_H
#define HOLESOME_CIRCLE_OBJECT_H
#include "../game/game_object.h"
#include <SFML/Graphics/RenderTarget.hpp>
class CircleObject : public GameObject {
public:
CircleObject(int radius, sf::Color color);
void draw(sf::RenderTarget &target, sf::RenderStates states) const override;
private:
int radius;
sf::Color color;
};
#endif //HOLESOME_CIRCLE_OBJECT_H