Renamed Window::IsOpened to IsOpen

Made some minor consistency modifications in internal code
This commit is contained in:
Laurent Gomila 2012-01-13 14:53:36 +01:00
parent 9d4c8b26a5
commit c2039e866c
14 changed files with 75 additions and 75 deletions

View file

@ -57,7 +57,7 @@ int main()
sf::Clock clock;
// Start game loop
while (window.IsOpened())
while (window.IsOpen())
{
// Process events
sf::Event event;

View file

@ -82,7 +82,7 @@ int main()
float ballAngle = 0.f; // to be changed later
bool isPlaying = false;
while (window.IsOpened())
while (window.IsOpen())
{
// Handle events
sf::Event event;

View file

@ -305,7 +305,7 @@ int main()
// Start the game loop
sf::Clock clock;
while (window.IsOpened())
while (window.IsOpen())
{
// Process events
sf::Event event;

View file

@ -34,7 +34,7 @@ int main()
gluPerspective(90.f, 1.f, 1.f, 500.f);
// Start the game loop
while (window.IsOpened())
while (window.IsOpen())
{
// Process events
sf::Event event;