6#ifndef FIGUREFRAMEFETCHER_H
7#define FIGUREFRAMEFETCHER_H
9#include "core/FrameProvider.h"
123 explicit BirdFrameFetch(
const QString& valid_base_path, QObject* parent);
Frame fetcher for bird-type obstacles.
Definition FigureFrameFetcher.h:115
QRect & src_bounding_rect() override
Returns the source bounding rectangle.
Definition FigureFrameFetcher.h:129
Frame fetcher for cactus-type obstacles.
Definition FigureFrameFetcher.h:88
QRect & src_bounding_rect() override
Returns the source bounding rectangle.
Definition FigureFrameFetcher.h:102
Provides frame data for the dinosaur character based on its state.
Definition FigureFrameFetcher.h:15
void set_frame_state(State s)
Sets the current frame state.
Definition FigureFrameFetcher.h:30
QRect & src_bounding_rect() override
Returns the current source bounding rectangle.
Definition FigureFrameFetcher.cpp:10
State
States the dinosaur character can be in.
Definition FigureFrameFetcher.h:21
@ LAY
Crouching/laying state.
@ NORMAL
Normal standing/running state.
Provides and manages frame sources for image processing.
Definition FrameProvider.h:12
Abstract base class for obstacle frame providers.
Definition FigureFrameFetcher.h:61
virtual QRect & src_bounding_rect()=0
Returns the source bounding rectangle.