C++ Project 2016-2017: Arkanoid
invis_block_sfml.h
Go to the documentation of this file.
1 
3 #ifndef INVIS_BLOCK_SFML_H
4 #define INVIS_BLOCK_SFML_H
5 
6 #include "../../../../logic/entity/block/special_block/invis_block.h"
7 #include "../block_sfml.h"
8 
9 #include <SFML/Graphics.hpp>
10 #include <iostream>
11 #include <memory>
12 #include <string>
13 
14 using namespace std;
15 
16 namespace arkanoidSFML {
17 
20  public:
21 
33  InvisBlockSFML(double x, double y, sf::RenderWindow &window, const string &textureFile = "data/sprites/blocks/red_block.png");
34 
38  ~InvisBlockSFML();
39 
43  void update();
44 
48  void draw() const;
49 
50  };
51 
52 }
53 
54 #endif /* INVIS_BLOCK_SFML_H */
The SFML element that represents the arkanoid::InvisBlock in the game.
The SFML element that represents the arkanoid::Block in the game.
Definition: block_sfml.h:19
All the game gui elements of the Arkanoid game.
Definition: ball_sfml.cpp:10
A "special" Block: when hit with a Ball, make the Ball invisible.
Definition: invis_block.h:16