project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/TickHandler.java
changeset 7476 2fb781bbdd51
parent 7355 5673e95ef647
equal deleted inserted replaced
7473:45b9f25ff611 7476:2fb781bbdd51
    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