feat(shield): added shields
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user