00001 /*************************************************************************** 00002 gamemap.h - description 00003 ------------------- 00004 begin : Tue Feb 17 2001 00005 copyright : (C) 2001 by Martin Bickel 00006 email : bickel@asc-hq.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 #ifndef playercolorH 00020 #define playercolorH 00021 00022 #include "graphics/surface.h" 00023 00024 class PlayerColor { 00025 int playernumber; 00026 DI_Color color; 00027 public: 00028 PlayerColor(int number, const DI_Color& col ); 00029 int getNum() const { return playernumber; }; 00030 DI_Color getColor() const { return color; }; 00031 }; 00032 00033 #endif 00034
1.4.2