C++ Project 2016-2017: Arkanoid
Classes | Functions | Variables
arkanoid Namespace Reference

All the game logic of the Arkanoid game. More...

Classes

class  Ball
 The Ball in the Arkanoid game. More...
 
class  BallSpeedBlock
 A "special" Block: when hit with a Ball, speed up or slow down the Ball. More...
 
class  Block
 The Block in the Arkanoid game, can be hit and destroyed by the Player. More...
 
class  Entity
 An Entity represents an "object" (like Player, Ball, Block, ...) in the game World. More...
 
class  InvisBlock
 A "special" Block: when hit with a Ball, make the Ball invisible. More...
 
class  Player
 The Player in the Arkanoid game that represents a "rectangle". More...
 
class  PlayerSpeedBlock
 A "special" Block: when hit with a Ball, speed up or slow down the Player. More...
 
class  Random
 Singleton: generates "random" numbers. More...
 
class  Vector2D
 Representation of a vector. More...
 
class  Wall
 The Wall (left/right/top side) in the Arkanoid game that represents a single "square". More...
 
class  World
 The World of the Arkanoid game that contains all Entity objects. More...
 

Functions

ostream & operator<< (ostream &stream, Vector2D &vector)
 

Variables

constexpr double gridW = 9.0
 
constexpr double gridH = 7.0
 

Detailed Description

All the game logic of the Arkanoid game.

Function Documentation

◆ operator<<()

ostream& arkanoid::operator<< ( ostream &  stream,
Vector2D vector 
)

'<<' Overloader.

Prints the values of this Vector2D (debugging reasons).

Parameters
streamThe stream where the outputs is in.
vectorThe vector of which the output is printed.

Definition at line 38 of file vector2D.cpp.