00001 00002 /*************************************************************************** 00003 gamemap.h - description 00004 ------------------- 00005 begin : Tue Feb 17 2001 00006 copyright : (C) 2001 by Martin Bickel 00007 email : bickel@asc-hq.org 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 00020 #ifndef explosiveminesH 00021 #define explosiveminesH 00022 00023 00024 #include "objects.h" 00025 00026 00027 00028 00029 class Mine : public AgeableItem { 00030 public: 00031 Mine( MineTypes type, int strength, int player, GameMap* gamemap ); 00032 00033 00034 MineTypes type; 00035 00037 int strength; 00038 00040 int player; 00041 00043 bool attacksunit ( const Vehicle* veh ); 00044 00046 void paint( Surface& surf, SPoint pos ); 00047 00048 }; 00049 00050 00051 00052 #endif 00053
1.4.2