Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void up() {
- while(sf::Keyboard::isKeyPressed(sf::Keyboard::Up))
- {
- form1_y = form1_y - 1;
- form1_k_calculate(form1_x, form1_y);
- colorform1();
- window.clear();
- window.draw(form1);
- window.display();
- std::cout << form1_y << form1_x << std::endl;
- Sleep(speed);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement