001 /* 002 * cs101 Pausable interface 003 * $Id: Pausable.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ 004 * 005 * Developed for "Rethinking CS101", a project of Lynn Andrea Stein's AP Group. 006 * For more information, see <a href="http://www.ai.mit.edu/projects/cs101/">the 007 * CS101 homepage</a> or email <las@ai.mit.edu>. 008 * 009 * Copyright (C) 1999 Massachusetts Institute of Technology. 010 * Please do not redistribute without obtaining permission. 011 */ 012 package cs101.util.gamecontrol; 013 014 /** 015 * Interface for an object with pause() and unpause() methods. 016 * 017 * <P>Copyright (c) 1999 Massachusetts Institute of Technology 018 * 019 * @author Paul K. Njoroge, pnjoroge@mit.edu 020 * @author Lynn Andrea Stein, las@ai.mit.edu 021 * @version $Id: DefaultGameFrame.java 022 */ 023 public interface Pausable 024 { 025 public void pause(); 026 public void unpause(); 027 } 028 029 /* 030 * $Log: Pausable.java,v $ 031 * Revision 1.1.1.1 2002/06/05 21:56:32 root 032 * CS101 comes to Olin finally. 033 * 034 * Revision 1.1 2000/04/24 22:17:16 nathanw 035 * Bulk reorganization 036 * 037 * Revision 1.1 1999/07/27 18:57:13 las 038 * Patched up DefaultFrame (mostly docs) and DefaultGameFrame (aesthetics 039 * and docs). 040 * 041 * Capitalized the name of the GameControllable interface. 042 * 043 * Moved the other four interfaces (Pausable, Resetable, Startable, 044 * Stoppable) to cs101.util as they really have nothing to do w/awt or 045 * windowing in particular. 046 * 047 * Also, added unpause() to Pausable as it doesn't make much sense to be 048 * able to pause but not unpause something. 049 * 050 */