project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/TickHandler.java
equal
deleted
inserted
replaced
10 * occurs without delay (though still via the looper), all |
10 * occurs without delay (though still via the looper), all |
11 * following calls are delayed by (approximately) the interval. |
11 * following calls are delayed by (approximately) the interval. |
12 * The interval can be changed at any time, which will cause |
12 * The interval can be changed at any time, which will cause |
13 * an immediate execution of the runnable again. |
13 * an immediate execution of the runnable again. |
14 */ |
14 */ |
15 class TickHandler extends Handler { |
15 public class TickHandler extends Handler { |
16 private final Runnable callback; |
16 private final Runnable callback; |
17 private int messageId; |
17 private int messageId; |
18 private long interval; |
18 private long interval; |
19 private boolean running; |
19 private boolean running; |
20 |
20 |