This repository has been archived on 2022-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
WaveGGJ17/VaporWaveWars/actor.hpp
2017-01-21 04:08:44 +01:00

20 lines
421 B
C++

#ifndef ENEMY_H
#define ENEMY_H
#include "commons.hpp"
#include "character.hpp"
class Actor
{
public:
Actor();
bool update(float deltaTime, sf::RenderWindow *window);
void draw(sf::RenderWindow *window) ;
virtual bool event(sf::Event e) = 0;
protected:
bool animate;
virtual bool updateLogic(float deltaTime, sf::RenderWindow *window) = 0;
private:
Character character;
};
#endif // ENEMY_H