Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef BOARD
- #define BOARD
- #include "SFML/Graphics.hpp"
- #include "SFML/Window.hpp"
- #include <vector>
- #include <array>
- #define PATH_PICTURES "/images/"
- class Board: public sf::Drawable
- {
- public:
- Board();
- ~Board();
- void setTableTexture();
- void setTable();
- void draw(sf::RenderWindow &window);
- private:
- sf::Texture boardTexture;
- public:
- sf::RectangleShape board;
- std::array<std::array<sf::RectangleShape,10>,20> vectBoard;
- float moveXaxis;
- float moveYaXis;
- sf::Vector2u pitMoveMent;
- sf::Texture PitTexture;
- sf::RectangleShape Pit;
- };
- #endif // !BOARD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement