7 #include "../../math/vector2D.h" 46 Player(
double x,
double y,
double newSpeed = 15.0, pair<double, double> size = make_pair(2.0, 1.0));
68 void speedUp(
double factor);
Vector2D origin
The initial position of the Player.
The Player in the Arkanoid game that represents a "rectangle".
int speedUpDuration
In frames.
Representation of a vector.
All the game logic of the Arkanoid game.
An Entity represents an "object" (like Player, Ball, Block, ...) in the game World.