#pragma once #include class Enemy { private: sf::RectangleShape shape; float leftBound; float rightBound; float speed; bool movingRight; bool aggro; float platformY; public: Enemy(float x, float y, float leftB, float rightB); void update(float dt, const sf::Vector2f& playerPos); void draw(sf::RenderWindow& window); void setAggro(bool value); float getPlatformY() const; sf::FloatRect getBounds() const; sf::RectangleShape& getShape(); };