Peoplemon
0.1.0
Peoplemon 3 game source documentation
src
Core
Maps
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
9
Light::Light
()
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
Light.hpp
core
Core classes and functionality for both the editor and game.
Definition:
Conversation.hpp:15
core::map::Light::Light
Light()
Creates an empty light.
Definition:
Light.cpp:9
core::map::Light::DefaultColor
static const sf::Vector3i DefaultColor
Definition:
Light.hpp:21
Generated on Sun Aug 18 2024 22:16:51 for Peoplemon by
1.9.1