colysis/src/Enemy/Enemy.hpp
2025-03-17 20:04:47 +01:00

13 lines
No EOL
279 B
C++

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