Test
This commit is contained in:
parent
5643fee9d3
commit
99d5016ac2
9 changed files with 171 additions and 149 deletions
|
|
@ -4,7 +4,7 @@ var points = 0
|
|||
|
||||
enum SPEED {MIN=20, MAX=80}
|
||||
|
||||
var currentSpeed := SPEED.MIN
|
||||
var currentSpeed = SPEED.MIN
|
||||
|
||||
var hasSelectedSpeed = false
|
||||
|
||||
|
|
@ -85,6 +85,6 @@ func convertIntToTime(value) -> String:
|
|||
|
||||
func speedUp():
|
||||
if currentSpeed + 1 <= SPEED.MAX:
|
||||
currentSpeed += 1
|
||||
currentSpeed += 0.5
|
||||
else:
|
||||
currentSpeed = SPEED.MAX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue