ST_engine  0.3-ALPHA
light.cpp
1 /* This file is part of the "ST" project.
2  * You may use, distribute or modify this code under the terms
3  * of the GNU General Public License version 2.
4  * See LICENCE.txt in the root directory of the project.
5  *
6  * Author: Maxim Atanasov
7  * E-mail: maxim.atanasov@protonmail.com
8  */
9 
10 #include <game_manager/level/light.hpp>
11 
20 ST::light::light(int32_t origin_x, int32_t origin_y, uint16_t radius, uint16_t intensity, uint16_t brightness) {
21  this->origin_x = origin_x;
22  this->origin_y = origin_y;
23  this->radius = radius;
24  this->intensity = intensity;
25  this->brightness = brightness;
26 }
light(int32_t origin_x, int32_t origin_y, uint16_t radius, uint16_t intensity, uint16_t brightness)
Definition: light.cpp:20