public class Clock extends Object
TickNoticer.noticeTick(int)
method on a target
object every n milliseconds. Clocks can only be created by calling
the every()
method on a Timer
instance.A Clock can be started and stopped.
TickNoticer
public int getTicks()
TickNoticer
) since it was created.public void start()
public void stop()
start()
.Copyright © 2017. All rights reserved.