Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (event.type == Event::MouseButtonReleased && event.key.code == Mouse::Left)
- {
- for (int a = 0; a <= 24; a++)
- {
- if (pozycja[a].adr_pion().getGlobalBounds().contains(mysz))
- {
- pozycja[a].adr_pion().getPosition().x;
- pozycja[a].adr_pion().getPosition().y;
- }
- else pozycja[a].adr_pion().setPosition(staraPoz);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement