Bomberman
Point.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2021
3 ** Bomberman
4 ** File description:
5 ** Pixel
6 */
7 
8 #ifndef POINT3D_HPP_
9 #define POINT3D_HPP_
10 
11 #include <raylib.h>
13 
16  class Point: public ADrawable3D
17  {
18  public:
22  Point(const Vector3 &position, const Color &color);
23 
25  Point(const Point &) = default;
26 
28  Point &operator=(const Point &) = default;
29 
31  ~Point() override = default;
32 
34  void drawOn(RAY::Window &) override;
35  };
36 };
37 
38 #endif /* !PIXEL_HPP_ */
RAY::Vector3
A Three-dimensionnal Vector data type.
Definition: Vector3.hpp:15
RAY::Window
Definition: Window.hpp:32
ADrawable3D.hpp
RAY::Drawables::ADrawable3D
Abstraction of any three-dimensionnal drawable.
Definition: ADrawable3D.hpp:17
RAY::Drawables::Drawables3D::Point::operator=
Point & operator=(const Point &)=default
A point is assignable.
RAY::Drawables::Drawables3D::Point
Point in a three-dimensionnal space.
Definition: Point.hpp:16
RAY::Drawables::Drawables3D
Definition: Circle.cpp:10
RAY::Drawables::Drawables3D::Point::drawOn
void drawOn(RAY::Window &) override
Draw point on window.
Definition: Point.cpp:19
RAY::Drawables::Drawables3D::Point::Point
Point(const Vector3 &position, const Color &color)
Point constructor.
Definition: Point.cpp:14
RAY::Color
Object representation of color.
Definition: Color.hpp:15
RAY::Drawables::Drawables3D::Point::~Point
~Point() override=default
A default destructor.