5#ifndef CASSE_BRIQUE_HEXAGON_H
6#define CASSE_BRIQUE_HEXAGON_H
10#include <SDL2/SDL_timer.h>
34 Hexagon(
int x,
int y,
int h,
int w,
int edges);
43 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 Hexagon class represents a hexagonal block.
void render(std::shared_ptr< SDL_Renderer > renderer, SDL_Color color1, SDL_Color color2) override
Renders the hexagonal block on the screen.