00001 /* 00002 Debris - A 3D-Space-Shooter Game based on OpenGL 00003 Copyright (C) 2002 Daniel Wagner <daniel@kwaxi.org> and 00004 Sebastian Zambal <e9826978@student.tuwien.ac.at> 00005 00006 file: DKeyboard.h 00007 */ 00008 00009 #pragma once 00010 00011 #include "DObject.h" 00012 00014 00020 class DKeyboard:DObject { 00021 public: 00023 bool key[256]; 00024 00026 bool specialKey[256]; 00027 00029 DKeyboard(void); 00031 void KeyUp(unsigned char key); 00033 void KeyDown(unsigned char key); 00035 void KeySpecialUp(int key); 00037 void KeySpecialDown(int key); 00038 };