Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <SFML\Graphics.hpp>
- #include "Player.h"
- class Map
- {
- public:
- sf::Sprite Platform_sp;
- int map[7][12] = { {0,0,0,0,0,0,0,0,0,0,0,0},
- {0,0,0,0,0,0,0,0,0,0,0,0},
- {0,0,0,0,0,0,0,1,0,0,0,0},
- {0,0,0,0,0,0,1,0,0,0,0,0},
- {0,0,0,0,0,1,0,0,0,0,0,0},
- {0,0,0,1,1,0,0,0,0,0,0,0},
- {1,1,1,0,0,0,0,0,1,1,1,1} };
- void wyswietl_wszystko(sf::RenderWindow &window);
- Map();
- private:
- sf::Texture Platform_txt;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement