Peoplemon  0.1.0
Peoplemon 3 game source documentation
Light.cpp
Go to the documentation of this file.
1 #include <Core/Maps/Light.hpp>
2 
3 namespace core
4 {
5 namespace map
6 {
7 const sf::Vector3i Light::DefaultColor(240, 240, 150);
8 
10 : radius(0)
11 , color(255, 255, 255) {}
12 
13 Light::Light(std::uint16_t rad, const sf::Vector2i& pos, const sf::Vector3i& color)
14 : radius(rad)
15 , position(pos)
16 , color(color) {}
17 
18 } // namespace map
19 } // namespace core
Core classes and functionality for both the editor and game.
Light()
Creates an empty light.
Definition: Light.cpp:9
static const sf::Vector3i DefaultColor
Definition: Light.hpp:21