aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 10:20:23 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 10:20:23 +0100
commit7508f7b26e73df24e2fcb4296b31d26470fddf76 (patch)
treeabf251399b30f012713a57accd59f5e97935c635 /src/example
parent2d623522db0677ca5e88a53e3705a10ce59ba8b6 (diff)
adjusted more it should now be finsished
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering_particle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 6e426cf..68dadd7 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -17,7 +17,6 @@
#include <crepe/types.h>
#include <chrono>
-#include <memory>
using namespace crepe;
using namespace std;
@@ -33,7 +32,7 @@ int main(int argc, char * argv[]) {
auto img = Texture("asset/texture/test_ap43.png");
Sprite & test_sprite
- = game_object.add_component<Sprite>(img, color, FlipSettings{true, true}, 1, 1, 500);
+ = game_object.add_component<Sprite>(img, color, Sprite::FlipSettings{true, true}, 1, 1, 500);
//game_object.add_component<Animator>(test_sprite, 4, 1, 0).active = true;
game_object.add_component<Animator>(test_sprite, 1, 1, 0).active = true;