public class ClockTickTimer
extends ch.sahits.game.openpatrician.utilities.service.Timer
| Constructor | Description |
|---|---|
ClockTickTimer(long interval,
long duration) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handlePause(ch.sahits.game.event.data.PauseGame event) |
|
void |
handleResume(ch.sahits.game.event.data.ResumeGame event) |
|
protected void |
onFinish() |
|
protected void |
onTick() |
|
void |
tick() |
Update the time by one tick.
|
protected void onTick()
onTick in class ch.sahits.game.openpatrician.utilities.service.Timerprotected void onFinish()
onFinish in class ch.sahits.game.openpatrician.utilities.service.Timerpublic void tick()
public void handlePause(ch.sahits.game.event.data.PauseGame event)
public void handleResume(ch.sahits.game.event.data.ResumeGame event)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.