VR-Forces 4.0.4 Class Documentation
include/bhaveSim/hideTaskAgent.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <bhaveSim/bhaveSimDefines.h>
00009 #include "vrfTaskAgent.h"
00010 #include <kyruntime.h>
00011 #include <vlutil/vlTime.h>
00012 #include <vlutil/vlString.h>
00013 #include <list>
00014 
00015 namespace BHAVE
00016 {
00017 
00018 
00020 class DT_DLL_bhaveSim DtHideTaskAgent : public DtVrfTaskAgent
00021 {  
00022 public:
00023 
00024    DtHideTaskAgent(
00025       DtVrfEntityBot* bot,
00026       const char* task,
00027       const char* arg1,
00028       const char* arg2,
00029       const char* arg3,
00030       const char* arg4,
00031       const char* command);
00032 
00033    virtual ~DtHideTaskAgent();
00034 
00036    virtual void Clear();
00037 
00039    virtual bool Think();
00040 
00042    virtual bool HasFinished();
00043 
00044    virtual bool RefreshContacts();
00045 
00047    virtual void onTeleport();
00048 
00049 protected:
00050    static const DtTime HIDE_UPDATE_ENTITIES_PERIOD;
00051 
00052    Kaim::HideAgent* myHideAgent;
00053    KyResult myStatus;
00054    bool myFinishedStatus;
00055    bool myStopWhenHidden;
00056    std::list<DtString> myDangerousNames;
00057    DtTime myEnemyLocationsDate;
00058 };
00059 
00060 
00061 } //namespace BHAVE

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)