Searched refs:onTime (Results 1 – 1 of 1) sorted by relevance
33 private final long onTime; field in TimeSwitchSprite44 public TimeSwitchSprite(long onTime, Sprite sprite) in TimeSwitchSprite() argument46 this(onTime, 0L, sprite); in TimeSwitchSprite()57 public TimeSwitchSprite(long onTime, long offTime, Sprite sprite) in TimeSwitchSprite() argument59 this.onTime = onTime; in TimeSwitchSprite()69 if (time >= onTime && (offTime <= 0 || time <= offTime)) in paint()71 sprite.paint(graphics, time - onTime); in paint()