Permalink
Browse files

updated throw example

  • Loading branch information...
1 parent 1ed9f12 commit 7ee7a5a245c119d7def419f0ac03ea98a2a22f72 @jhasse committed Dec 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/throw/main.cpp
View
@@ -30,7 +30,7 @@ int main()
if(jngl::Time() - oldTime > timePerFrame)
{
oldTime += timePerFrame;
- ball.CheckMouse(jngl::MouseX(), jngl::MouseY());
+ ball.CheckMouse(jngl::GetMouseX(), jngl::GetMouseY());
ball.Move();
}
else
@@ -43,7 +43,7 @@ int main()
}
Ball::Ball(const std::string& filename) : x_(100), y_(100), xSpeed_(200), ySpeed_(200),
- filename_(filename), width_(jngl::Width(filename)), height_(jngl::Height(filename))
+ filename_(filename), width_(jngl::GetWidth(filename)), height_(jngl::GetHeight(filename))
{
}

0 comments on commit 7ee7a5a

Please sign in to comment.