5#ifndef CASSE_BRIQUE_WALL_H
6#define CASSE_BRIQUE_WALL_H
10#include <SDL2/SDL_timer.h>
24 WALL(
int x,
int y,
int width,
int height,
const std::string&
id,
bool kill);
25 void render(std::shared_ptr<SDL_Renderer> renderer, SDL_Color color1,SDL_Color color2)
override;
The CollidingObject class represents a generic colliding object.
void render(std::shared_ptr< SDL_Renderer > renderer, SDL_Color color1, SDL_Color color2) override
Renders the object on the screen.
void handleCollisions(point collision) override
Handles collisions with other objects.
The point struct represents a point in 2D space.