#pragma once #include #include class Wall { float velocity = 300; public: bool jumped = false; bool failed = false; QVector2D pos; QSize size; bool isLost() const; explicit Wall(); void draw(QPainter &painter) const; void update(float dTime); };