This commit is contained in:
2024-01-30 15:45:14 +01:00
parent d67394aaec
commit ca204d05af
17 changed files with 658 additions and 568 deletions
+7
View File
@@ -0,0 +1,7 @@
#include "Alien.h"
Alien::Alien(Vector2f& position) {
_shape = RectangleShape(Vector2f(100, 50));
_shape.setFillColor(Color::Red);
_shape.setPosition(Vector2f(position.x - (_shape.getScale().x / 2.0), position.y));
}