Allow change difficult mode by score value

This commit is contained in:
Victor 2014-01-15 14:40:43 +02:00
parent 01cd8d0ee0
commit 0c0dbdeb3a

View File

@ -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;
}
} }