Skip to content

Commit

Permalink
updated throw example
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Dec 2, 2011
1 parent 1ed9f12 commit 7ee7a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/throw/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))
{
}

Expand Down

0 comments on commit 7ee7a5a

Please sign in to comment.