Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Timing(){
- if (points >= 0 && points < 10) {
- timeLeft = 3.0f;
- } else if (points > 10 && points < 15) {
- timeLeft = 2.7f;
- }else if (points > 15 && points < 20) {
- timeLeft = 2.4f;
- }else if (points > 20 && points < 25) {
- timeLeft = 2.0f;
- }else if (points > 25 && points < 30) {
- timeLeft = 1.7f;
- }else if (points > 30 && points < 35) {
- timeLeft = 1.5f;
- }else if (points > 35 && points < 40) {
- timeLeft = 1.2f;
- }else if (points > 40 && points < 45) {
- timeLeft = 1.0f;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement