4#include "core/DifficultyType.h"
87 bool drawHello {
true };
88 std::shared_ptr<GroundLineProviders> providers;
95 void drawSun(
const QPointF& center, qreal radius);
A utility class to manage and render dynamic ground lines.
Definition GroundLineProviders.h:16
Base class for all obstacle objects in the game.
Definition Obsticals.h:15
Handles all rendering operations for the game scene.
Definition SceneDrawer.h:22
void drawSky()
Draws the sky background.
Definition SceneDrawer.cpp:19
void drawContent(int score, Difficulty type)
Draws game content (score and difficulty)
Definition SceneDrawer.cpp:53
void drawMainGround()
Draws the main ground line.
Definition SceneDrawer.cpp:108
void drawObstical(const QList< Obsticals * > &obs)
Draws all obstacles.
Definition SceneDrawer.cpp:101
void drawFlowyGround(int current_speed)
Draws the flowing ground effect.
Definition SceneDrawer.cpp:121
void bind_painter(QPainter *p)
Binds a QPainter for drawing operations.
Definition SceneDrawer.cpp:15
void drawDinasore(Dinasour *dinasour)
Draws the dinosaur character.
Definition SceneDrawer.cpp:96
void setDrawHello(bool st)
Sets whether to draw the hello message.
Definition SceneDrawer.h:82
Q_DISABLE_COPY_MOVE(SceneDrawer)
disable copy move object
Configuration constants related to the dinosaur figure.