figments: figment: redefine task startup state semantics
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-02-18 16:33:09 +01:00
parent b33885e9f5
commit 2848c8ad12
13 changed files with 16 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#include "Flashlight.h"
#include "../Static.h"
Flashlight::Flashlight() : Figment("Flashlight", Task::Stopped) {
Flashlight::Flashlight() : Figment("Flashlight") {
m_blobs.forEach([](Blob &blob) {
blob.setHue(random(255));
blob.setSaturation(10);