Switching to sfml

This commit is contained in:
n0ffie 2025-03-17 20:04:47 +01:00
parent 4536c62dad
commit de72aead56
40 changed files with 462 additions and 2385 deletions

13
src/Enemy/Enemy.hpp Normal file
View file

@ -0,0 +1,13 @@
#pragma once
#include <SFML/Graphics.hpp>
class Enemy : public sf::Drawable
{
sf::RectangleShape rectangle;
public:
explicit Enemy(sf::Vector2f position);
void look_at(sf::Vector2f target);
void draw(sf::RenderTarget& target, sf::RenderStates states) const override;
};