[Gcblue-commits] gcb_wx/include/ai tcAttackMission.h,NONE,1.1
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-12-15 03:38:51
|
Update of /cvsroot/gcblue/gcb_wx/include/ai In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32056/include/ai Added Files: tcAttackMission.h Log Message: --- NEW FILE: tcAttackMission.h --- /** ** @file tcAttackMission.h */ /* Copyright (C) 2006 Dewitt Colclough (de...@gc...) ** All rights reserved. ** This file is part of the Global Conflict Blue (GCB) program. ** GCB is free software; you can redistribute it and/or modify ** it under the terms of version 2 of the GNU General Public License as ** published by the Free Software Foundation. ** GCB is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** You should have received a copy of the GNU General Public License ** along with GCB; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #if _MSC_VER > 1000 #pragma once #endif #ifndef _TCATTACKMISSION_H_ #define _TCATTACKMISSION_H_ #include "ai/tcMission.h" #include "simmath.h" class tcFlightPort; class tcPoint; namespace ai { class tcAttackMission : public tcMission { public: void SetTarget(long id); virtual void Update(double t); const tcAttackMission& operator=(const tcAttackMission& src); tcAttackMission(const tcAttackMission& src); tcAttackMission(); virtual ~tcAttackMission(); protected: unsigned int quantity; // number aircraft for mission long targetId; int targetType; ///< derived void UpdateTargetInfo(); void MonitorMissionInProgress(); }; } // namespace #endif |