Allow change difficult mode by score value
This commit is contained in:
parent
01cd8d0ee0
commit
0c0dbdeb3a
@ -30,4 +30,10 @@ public class Score {
|
|||||||
font.draw(batch, text, 10, height);
|
font.draw(batch, text, 10, height);
|
||||||
batch.end();
|
batch.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static int getDifficultMode() {
|
||||||
|
if (killCount < 50) return 0;
|
||||||
|
if (killCount > 1000) return 9;
|
||||||
|
return ( (killCount - 50) / 100 ) + 1;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user