#include <Starfield.hpp>
|
| static void | createStarfield (Registry ®istry, const eng::WindowSize &windowSize) |
| |
| static void | createStars (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight, const eng::Color &color, float velocity, const std::string &id) |
| |
| static void | createShootingStars (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight) |
| |
| static void | createPlanets (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight) |
| |
| static void | createNebulae (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight) |
| |
| static void | createComets (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight) |
| |
| static void | createStarsVaried (Registry ®istry, const int count, const unsigned int screenWidth, const unsigned int screenHeight, float velocity, const std::string &baseId) |
| |
Definition at line 21 of file Starfield.hpp.
◆ StarfieldSystem() [1/3]
| ecs::StarfieldSystem::StarfieldSystem |
( |
const std::shared_ptr< eng::IRenderer > & | renderer, |
|
|
Registry & | registry ) |
|
inlineexplicit |
◆ ~StarfieldSystem()
| ecs::StarfieldSystem::~StarfieldSystem |
( |
| ) |
|
|
overridedefault |
◆ StarfieldSystem() [2/3]
◆ StarfieldSystem() [3/3]
◆ createComets()
| static void ecs::StarfieldSystem::createComets |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight ) |
|
inlinestaticprivate |
◆ createNebulae()
| static void ecs::StarfieldSystem::createNebulae |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight ) |
|
inlinestaticprivate |
◆ createPlanets()
| static void ecs::StarfieldSystem::createPlanets |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight ) |
|
inlinestaticprivate |
◆ createShootingStars()
| static void ecs::StarfieldSystem::createShootingStars |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight ) |
|
inlinestaticprivate |
◆ createStarfield()
Definition at line 112 of file Starfield.hpp.
References utl::Config::Color::BLUE, createComets(), createNebulae(), createPlanets(), createShootingStars(), createStars(), createStarsVaried(), eng::WindowSize::height, utl::Config::Color::WHITE_TRANS, eng::WindowSize::width, and utl::Config::Color::YELLOW.
Referenced by StarfieldSystem().
◆ createStars()
| static void ecs::StarfieldSystem::createStars |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight, |
|
|
const eng::Color & | color, |
|
|
float | velocity, |
|
|
const std::string & | id ) |
|
inlinestaticprivate |
◆ createStarsVaried()
| static void ecs::StarfieldSystem::createStarsVaried |
( |
Registry & | registry, |
|
|
const int | count, |
|
|
const unsigned int | screenWidth, |
|
|
const unsigned int | screenHeight, |
|
|
float | velocity, |
|
|
const std::string & | baseId ) |
|
inlinestaticprivate |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ update()
| void ecs::StarfieldSystem::update |
( |
Registry & | registry, |
|
|
const float | dt ) |
|
inlineoverridevirtual |
◆ m_renderer
| const std::shared_ptr<eng::IRenderer>& ecs::StarfieldSystem::m_renderer |
|
private |
◆ m_timeAccumulator
| float ecs::StarfieldSystem::m_timeAccumulator = 0.0f |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/R-Type/R-Type/modules/ECS/include/ECS/Systems/Starfield.hpp