mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-16 22:15:01 +03:00
23 lines
568 B
C++
23 lines
568 B
C++
#ifndef EE_GRAPHICS_STATEFULDRAWABLE_HPP
|
|
#define EE_GRAPHICS_STATEFULDRAWABLE_HPP
|
|
|
|
#include <eepp/graphics/drawableresource.hpp>
|
|
|
|
namespace EE { namespace Graphics {
|
|
|
|
class EE_API StatefulDrawable : public DrawableResource {
|
|
public:
|
|
StatefulDrawable( Type drawableType ) : DrawableResource( drawableType ) {}
|
|
|
|
StatefulDrawable( Type drawableType, const std::string& name ) :
|
|
DrawableResource( drawableType, name ) {}
|
|
|
|
virtual StatefulDrawable* setState( Uint32 state ) = 0;
|
|
|
|
virtual const Uint32& getState() const = 0;
|
|
};
|
|
|
|
}} // namespace EE::Graphics
|
|
|
|
#endif
|