timer can run when invisible (but no sound)
This commit is contained in:
parent
e20e972b88
commit
ea4e7a4790
3 changed files with 21 additions and 32 deletions
|
@ -4,10 +4,6 @@ class Time(initialTime: Int) {
|
|||
|
||||
var time = initialTime
|
||||
|
||||
fun min(i: Int) {
|
||||
time -= i
|
||||
}
|
||||
|
||||
fun minOne() {
|
||||
time--
|
||||
}
|
||||
|
|
Reference in a new issue