51 void operator=(
const Vector2D &other);
60 void operator+=(
const Vector2D &other);
71 Vector2D operator*(
double factor)
const;
80 void operator*=(
double factor);
Representation of a vector.
ostream & operator<<(ostream &stream, Vector2D &vector)
double y
The 'y' component of the Vector2D.
double x
The 'x' component of the Vector2D.
All the game logic of the Arkanoid game.