25 lines
446 B
C
25 lines
446 B
C
|
//
|
||
|
// 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
|