3 #ifndef BALL_SPEED_BLOCK_SFML_H 4 #define BALL_SPEED_BLOCK_SFML_H 6 #include "../../../../logic/entity/block/special_block/ball_speed_block.h" 7 #include "../block_sfml.h" 9 #include <SFML/Graphics.hpp> 34 BallSpeedBlockSFML(
double x,
double y, sf::RenderWindow &window,
double speedF = 1.5,
const string &textureFile =
"data/sprites/blocks/yellow_block.png");
The SFML element that represents the arkanoid::Block in the game.
All the game gui elements of the Arkanoid game.
The SFML element that represents the arkanoid::BallSpeedBlock in the game.
A "special" Block: when hit with a Ball, speed up or slow down the Ball.