![]() |
Gorgon Game Engine
|
Represents animated pointer. More...
Public Member Functions | |
| basic_AnimatedPointer (basic_AnimatedPointer &&other) | |
| basic_AnimatedPointer (const basic_AnimatedPointer &)=delete | |
| basic_AnimatedPointer (const basic_PointerProvider< A_ > &parent, typename A_::AnimationType &anim) | |
| ~basic_AnimatedPointer () | |
| Gorgon::Animation::ControllerBase & | GetController () const |
| bool | HasController () const override |
| void | RemoveController () const |
| void | SetController (Gorgon::Animation::ControllerBase &controller) override |
Public Member Functions inherited from Pointer | |
| virtual | ~Pointer () |
Public Member Functions inherited from Drawable | |
| virtual | ~Drawable () |
| void | Draw (TextureTarget &target, const Geometry::Point &p, RGBAf color=RGBAf(1.f)) const |
| Draw to the given coordinates. More... | |
| void | Draw (TextureTarget &target, const Geometry::Pointf &p, RGBAf color=RGBAf(1.f)) const |
| Draw to the given coordinates. More... | |
| void | Draw (TextureTarget &target, float x, float y, RGBAf color=RGBAf(1.f)) const |
| Draw to the given coordinates. More... | |
| void | Draw (TextureTarget &target, int x, int y, RGBAf color=RGBAf(1.f)) const |
| Draw to the given coordinates. More... | |
Protected Member Functions | |
| void | draw (Gorgon::Graphics::TextureTarget &target, const Geometry::Pointf &p, Gorgon::Graphics::RGBAf color) const override |
| This is the only function that needs to implemented for a drawable. More... | |
Protected Attributes | |
| A_::AnimationType * | anim |
| const basic_PointerProvider< A_ > & | parent |
Represents animated pointer.
| basic_AnimatedPointer | ( | const basic_PointerProvider< A_ > & | parent, |
| typename A_::AnimationType & | anim | ||
| ) |
|
delete |
| basic_AnimatedPointer | ( | basic_AnimatedPointer< A_ > && | other | ) |
References basic_AnimatedPointer< A_ >::anim.
|
overrideprotectedvirtual |
| Gorgon::Animation::ControllerBase& GetController | ( | ) | const |
References basic_AnimatedPointer< A_ >::anim, and ASSERT.
|
override |
References basic_AnimatedPointer< A_ >::anim, and ASSERT.
| void RemoveController | ( | ) | const |
References basic_AnimatedPointer< A_ >::anim, and ASSERT.
|
override |
References basic_AnimatedPointer< A_ >::anim, and ASSERT.
|
protected |
|
protected |