mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
30 lines
455 B
C++
30 lines
455 B
C++
/*
|
|
** EPITECH PROJECT, 2021
|
|
** Bomberman
|
|
** File description:
|
|
** Canvas
|
|
*/
|
|
|
|
#ifndef CANVAS_HPP_
|
|
#define CANVAS_HPP_
|
|
|
|
namespace RAY {
|
|
namespace Drawables {
|
|
class IDrawable;
|
|
}
|
|
//! @brief Interface for any drawable surface
|
|
class Canvas {
|
|
public:
|
|
//! @brief A default destructor
|
|
virtual ~Canvas() = default;
|
|
|
|
//! @brief draw drawable
|
|
virtual void draw(Drawables::IDrawable &) = 0;
|
|
|
|
protected:
|
|
private:
|
|
};
|
|
}
|
|
|
|
#endif /* !Canvas_HPP_ */
|