3#include "figure/FigureObject.h"
16 explicit Dinasour(QObject* parent =
nullptr);
46 void set_laying(
bool st);
50 void process_animation();
55 void set_providing_state(State s);
60 QRect& provide_current_bounding_rect()
override;
65 QPixmap& provide_drawing_srcframe()
override;
77 void setup_frame_provider();
79 State current_state { State::READY };
80 bool is_jumping {
false };
81 bool is_laying {
false };
Provides frame data for the dinosaur character based on its state.
Definition FigureFrameFetcher.h:15
State
States of Dinasour supports.
Definition Dinasour.h:21
bool isJumping() const
isJumping is our cute jumping?
Definition Dinasour.h:32
bool isLaying() const
isLaying is our cute laying(ducking actually...)?
Definition Dinasour.h:41
Configuration constants related to the dinosaur figure.