Frame fetcher for bird-type obstacles. More...
#include <FigureFrameFetcher.h>
Public Member Functions | |
BirdFrameFetch (const QString &valid_base_path, QObject *parent) | |
Constructs a bird frame fetcher. | |
QRect & | src_bounding_rect () override |
Returns the source bounding rectangle. | |
![]() | |
ObstacleBaseFrameFetch (const QString &valid_base_path, QObject *parent) | |
Constructs the base obstacle frame fetcher. | |
![]() | |
FrameProvider (const QString &valid_base_path, QObject *parent) | |
Constructs a FrameProvider with initial path. | |
virtual | ~FrameProvider () |
Destructor. | |
void | append_src (const QString &valid_base_path) |
Adds a single source path. | |
void | append_srcs (const QStringList &valid_base_paths) |
Adds multiple source paths. | |
void | lock_src (const QString &valid_base_path) |
Locks to a specific source path. | |
void | terminate_flow () |
Stops frame updates. | |
void | resume_flow () |
Resumes frame updates. | |
void | manual_shuffle_once () |
Manually triggers one frame shuffle. | |
QPixmap & | src_pixmap () |
Gets current source pixmap. | |
Frame fetcher for bird-type obstacles.
|
explicit |
Constructs a bird frame fetcher.
valid_base_path | Path to frame resources. |
parent | The parent QObject. |
|
inlineoverridevirtual |
Returns the source bounding rectangle.
Implements ObstacleBaseFrameFetch.