00001 /* 00002 $Id: inputbutton.h,v 1.1 2001/03/06 15:09:10 mbn Exp $ 00003 00004 ------------------------------------------------------------------------ 00005 ClanLib, the platform independent game SDK. 00006 00007 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00008 version 2. See COPYING for details. 00009 00010 For a total list of contributers see CREDITS. 00011 00012 ------------------------------------------------------------------------ 00013 */ 00014 00016 00017 #ifndef header_input_button 00018 #define header_input_button 00019 00020 class CL_InputButton 00021 //: Input Button interface. 00022 // CL_InputButton is the interface to buttons, such as a keyboard, mouse or 00023 // joystick button. 00024 { 00025 public: 00026 virtual ~CL_InputButton() { return; } 00027 00028 virtual bool is_pressed()=0; 00029 //: Returns true if the button is pressed. 00031 }; 00032 00033 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001