Advertisement
Guest User

Untitled

a guest
Oct 4th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. void Timing(){
  2. if (points >= 0 && points < 10) {
  3. timeLeft = 3.0f;
  4. } else if (points > 10 && points < 15) {
  5. timeLeft = 2.7f;
  6. }else if (points > 15 && points < 20) {
  7. timeLeft = 2.4f;
  8. }else if (points > 20 && points < 25) {
  9. timeLeft = 2.0f;
  10. }else if (points > 25 && points < 30) {
  11. timeLeft = 1.7f;
  12. }else if (points > 30 && points < 35) {
  13. timeLeft = 1.5f;
  14. }else if (points > 35 && points < 40) {
  15. timeLeft = 1.2f;
  16. }else if (points > 40 && points < 45) {
  17. timeLeft = 1.0f;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement