Added Window::GetPosition, and renamed some setters in Window for better consistency
This commit is contained in:
parent
90854907b5
commit
15e9d999b3
26 changed files with 473 additions and 492 deletions
|
@ -28,7 +28,7 @@ int main()
|
|||
|
||||
// Create the window of the application
|
||||
sf::RenderWindow window(sf::VideoMode(gameWidth, gameHeight, 32), "SFML Pong");
|
||||
window.EnableVerticalSync(true);
|
||||
window.SetVerticalSyncEnabled(true);
|
||||
|
||||
// Load the sounds used in the game
|
||||
sf::SoundBuffer ballSoundBuffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue