15 lines
252 B
C++
15 lines
252 B
C++
|
#ifndef IRENDERABLE_H_
|
||
|
# define IRENDERABLE_H_
|
||
|
|
||
|
# include <SFML/Graphics.hpp>
|
||
|
|
||
|
namespace DamnCute {
|
||
|
class IRenderable {
|
||
|
public:
|
||
|
virtual void update(sf::RenderTarget*) = 0;
|
||
|
virtual ~IRenderable() {}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif /* !IRENDERABLE_H_ */
|