If the code hasn't been touched in this long, its probably release-worthy.
This commit is contained in:
15
src/animations/Flashlight.h
Normal file
15
src/animations/Flashlight.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <Figments.h>
|
||||
#include "../sprites/Blob.h"
|
||||
|
||||
class Flashlight: public Figment {
|
||||
public:
|
||||
Flashlight();
|
||||
void handleEvent(const InputEvent& evt) override;
|
||||
void loop() override;
|
||||
void render(Display* dpy) const override;
|
||||
|
||||
private:
|
||||
static constexpr int blobCount = 30;
|
||||
SpriteList<Blob, blobCount> m_blobs;
|
||||
};
|
||||
Reference in New Issue
Block a user