From 6996490f3c70de253237d1dcd303c9a30407293a Mon Sep 17 00:00:00 2001 From: Andrii Solianyk Date: Tue, 26 Nov 2024 13:15:31 +0100 Subject: [PATCH] little actor.h refactor --- headers/Actor.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/headers/Actor.h b/headers/Actor.h index 56b704a..43ffc73 100644 --- a/headers/Actor.h +++ b/headers/Actor.h @@ -5,12 +5,11 @@ #include "SFML/Graphics/Texture.hpp" #include "Bullet.h" -struct Position { - int x; - int y; -}; - class Actor { + struct Position { + int x; + int y; + }; public: Actor(int x, int y, std::string path);