Animatable interface. More...
#include <animatable.hpp>
Public Member Functions | |
virtual | ~animatable ()=default |
Default virtual destructor. | |
virtual bool | animated () const =0 |
Gets whether the object should be animated. | |
virtual void | set_texture (std::shared_ptr< texture > const &texture)=0 |
Sets the wze::texture of the object. | |
|
nodiscardpure virtual |
Gets whether the object should be animated.
Implemented in wze::sprite.
|
pure virtual |
Sets the wze::texture of the object.
texture | wze::texture of the object. |
Implemented in wze::sprite.