feat(shield): added shields

This commit is contained in:
2024-01-23 11:40:46 +01:00
parent 15c745d7c0
commit d67394aaec
10 changed files with 127 additions and 10 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
#include "Laser.h"
Laser::Laser()
Laser::Laser(Window& _window)
{
_laser = RectangleShape(Vector2f(4, 30));
_laser = RectangleShape(Vector2f(_window.getSize().x / 600, _window.getSize().y / 30));
_laser.setFillColor(Color::White);
}