C++ Project 2016-2017: Arkanoid
wall.h
Go to the documentation of this file.
1 
3 #ifndef WALL_H
4 #define WALL_H
5 
6 #include "../entity.h"
7 #include "../../math/vector2D.h"
8 
9 #include <iostream>
10 
11 using namespace std;
12 
13 
14 namespace arkanoid {
15 
17  class Wall : public Entity {
18 
19  public:
20 
26  Wall();
27 
37  Wall(double x, double y, pair<double, double> size = make_pair(1, 1));
38 
42  ~Wall();
43 
47  void update();
48 
52  void draw() const;
53  };
54 
55 }
56 
57 #endif /* WALL_H */
The Wall (left/right/top side) in the Arkanoid game that represents a single "square".
Definition: wall.h:17
All the game logic of the Arkanoid game.
Definition: ball.cpp:15
An Entity represents an "object" (like Player, Ball, Block, ...) in the game World.
Definition: entity.h:15