Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PIONEK_H_INCLUDED
- #define PIONEK_H_INCLUDED
- #include "wspolrzedne.h"
- #include "Domek.h"
- #include "Plansza.h"
- enum kolor_pionka
- {
- zolty,
- zielony,
- czerwony,
- niebieski
- };
- class Pionek
- {
- sf::Sprite *sprite;
- int polozenie;
- sf::Vector2f wektor;
- kolor_pionka kolor;
- public:
- bool w_grze;
- Pionek(sf::Sprite *sprite, kolor_pionka ustaw_kolor);
- int pobierz_polozenie();
- void ustaw_polozenie(int polozenie);
- void wroc_do_domku();
- void przejdz_do_bazy(int polozenie);
- kolor_pionka zwroc_kolor();
- sf::Sprite* zwracanie_sprite();
- // bool czy_w_domku(Pionek* tablica[], kolor_pionka kolorek);
- ~Pionek();
- };
- #endif // PIONEK_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement