Files
Space-Invader/Laser.h
T
alexis 9b0a7a78bb feat(laser): created laser object
Created laser object without any collision detection
2024-01-09 12:26:42 +01:00

22 lines
270 B
C++

#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;
};