001 /* 002 * cs101 gameControllable interface 003 * $Id: GameControllable.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 import cs101.util.*; 015 016 /** 017 * This interface defines the behavior for a game controller. It is 018 * designed with cs101.awt.DefaultGameFrame in mind. 019 */ 020 public interface GameControllable extends Startable, 021 Stoppable, 022 Resettable, 023 Pausable 024 {} 025 026 027 /* 028 * $Log: GameControllable.java,v $ 029 * Revision 1.1.1.1 2002/06/05 21:56:32 root 030 * CS101 comes to Olin finally. 031 * 032 * Revision 1.1 2000/04/24 22:17:16 nathanw 033 * Bulk reorganization 034 * 035 * Revision 1.2 1999/08/11 14:52:55 jsmthng 036 * Made the interface 'public'. 037 * 038 * Revision 1.1 1999/07/27 18:55:55 las 039 * Patched up DefaultFrame (mostly docs) and DefaultGameFrame (aesthetics 040 * and docs). 041 * 042 * Capitalized the name of the GameControllable interface. 043 * 044 * Moved the other four interfaces (Pausable, Resetable, Startable, 045 * Stoppable) to cs101.util as they really have nothing to do w/awt or 046 * windowing in particular. 047 * 048 * Also, added unpause() to Pausable as it doesn't make much sense to be 049 * able to pause but not unpause something. 050 * 051 */