001 package com.croftsoft.core.animation; 002 003 /********************************************************************* 004 * Regulates the loop frequency by putting the Thread to sleep. 005 * 006 * @deprecated 007 * Moved to package com.croftsoft.core.util.loop. 008 * 009 * @version 010 * 2002-05-22 011 * @since 012 * 2002-03-07 013 * @author 014 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 015 *********************************************************************/ 016 017 public interface LoopGovernor 018 ////////////////////////////////////////////////////////////////////// 019 ////////////////////////////////////////////////////////////////////// 020 { 021 022 /********************************************************************* 023 * This method puts the Thread to sleep for a limited time. 024 *********************************************************************/ 025 public void govern ( ) 026 throws InterruptedException; 027 028 ////////////////////////////////////////////////////////////////////// 029 ////////////////////////////////////////////////////////////////////// 030 }