5#ifndef CASSE_BRIQUE_RECTANGLE_H
6#define CASSE_BRIQUE_RECTANGLE_H
10#include <SDL2/SDL_timer.h>
41 void render(std::shared_ptr<SDL_Renderer> renderer, SDL_Color
color1, SDL_Color
color2)
override;
The Brique class represents a block object in the game.
SDL_Color color1
The primary color of the block.
SDL_Color color2
The secondary color of the block.
The Rectangle class represents a rectangular block.
void render(std::shared_ptr< SDL_Renderer > renderer, SDL_Color color1, SDL_Color color2) override
Renders the rectangular block on the screen.