package simulator; /* * ClockedThing.java * Created on 2005/1/4 * */ /** * ClockedThing describes a set of things (objects) in the amusement park that are * synchronized by a central clock * @author Ping * */ public interface ClockedThing { /** * This function is called every clock tick. * @return boolean The function should return true if the object should * be called again next clock tick. Returning false would indicate that * the object should not be called again. */ public boolean onClockTick(); }