mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-09 20:25:31 +00:00
fix indentation, now using tabs
This commit is contained in:
@@ -12,35 +12,35 @@
|
||||
#include "Drawables/ADrawable2D.hpp"
|
||||
|
||||
namespace RAY::Drawables::Drawables2D {
|
||||
class Point: public ADrawable2D
|
||||
class Point: public ADrawable2D
|
||||
{
|
||||
public:
|
||||
//! @brief Point constructor
|
||||
//! @param position position of point
|
||||
//! @param Color Color of the circle
|
||||
Point(const Vector2 &position, const Color &);
|
||||
public:
|
||||
//! @brief Point constructor
|
||||
//! @param position position of point
|
||||
//! @param Color Color of the circle
|
||||
Point(const Vector2 &position, const Color &);
|
||||
|
||||
//! @brief Point constructor
|
||||
//! @param x x-position of point
|
||||
//! @param y y-position of point
|
||||
//! @param Color Color of the circle
|
||||
Point(int x, int y, const Color &);
|
||||
//! @brief Point constructor
|
||||
//! @param x x-position of point
|
||||
//! @param y y-position of point
|
||||
//! @param Color Color of the circle
|
||||
Point(int x, int y, const Color &);
|
||||
|
||||
//! @brief A default copy constructor
|
||||
Point(const Point &) = default;
|
||||
//! @brief A default copy constructor
|
||||
Point(const Point &) = default;
|
||||
|
||||
//! @brief A point is assignable
|
||||
Point &operator=(const Point &) = default;
|
||||
//! @brief A point is assignable
|
||||
Point &operator=(const Point &) = default;
|
||||
|
||||
//! @brief A default destructor
|
||||
~Point() = default;
|
||||
//! @brief A default destructor
|
||||
~Point() = default;
|
||||
|
||||
//! @brief Draw point on window
|
||||
void drawOn(RAY::Window &window) override;
|
||||
//! @brief Draw point on image
|
||||
void drawOn(RAY::Image &image) override;
|
||||
//! @brief Draw point on window
|
||||
void drawOn(RAY::Window &) override;
|
||||
//! @brief Draw point on image
|
||||
void drawOn(RAY::Image &image) override;
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* !PIXEL_HPP_ */
|
||||
|
||||
Reference in New Issue
Block a user