feat(laser): created laser object

Created laser object without any collision detection
This commit is contained in:
2024-01-09 12:26:42 +01:00
parent 0fed252afd
commit 9b0a7a78bb
10 changed files with 103 additions and 27 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include <iostream>
#include <SFML/Graphics.hpp>
using namespace std;
using namespace sf;
class Laser
{
public:
Laser();
RectangleShape getLaser() { return _laser; }
void setInitialPosition(Vector2f position);
private:
RectangleShape _laser;
};