-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ellipse and change header file ext
- Loading branch information
1 parent
07cefa7
commit 5320258
Showing
5 changed files
with
30 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "Circle.hpp" | ||
#ifndef ELLIPSE_H_ | ||
#define ELLIPSE_H_ | ||
|
||
class Ellipse : public Circle { | ||
private: | ||
sf::Vector2f radius; | ||
|
||
public: | ||
Ellipse(const sf::Vector2f &radius, float center_x, float center_y, | ||
sf::Color fill, sf::Color stroke, float stroke_thickness); | ||
virtual sf::Vector2f getPoint(std::size_t index) const override; | ||
}; | ||
|
||
#endif |