mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
26 lines
488 B
C++
26 lines
488 B
C++
/*
|
|
** EPITECH PROJECT, 2021
|
|
** Bomberman
|
|
** File description:
|
|
** ADrawable3D
|
|
*/
|
|
|
|
#include "Drawables/ADrawable3D.hpp"
|
|
|
|
RAY::Drawables::Drawables3D::ADrawable3D::ADrawable3D(const RAY::Color &color):
|
|
_color(color)
|
|
{
|
|
|
|
}
|
|
|
|
const RAY::Color &RAY::Drawables::Drawables3D::ADrawable3D::getColor(void) const
|
|
{
|
|
return this->_color;
|
|
}
|
|
|
|
RAY::Drawables::Drawables3D::ADrawable3D &RAY::Drawables::Drawables3D::ADrawable3D::setColor(const RAY::Color &color)
|
|
{
|
|
this->_color = color;
|
|
return *this;
|
|
}
|