VR-Forces 4.0.4 Class Documentation
include/bhaveSim/gotoTaskAgent.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 
00012 namespace BHAVE
00013 {
00014 
00015 
00017 class DT_DLL_bhaveSim DtGotoTaskAgent : public DtVrfTaskAgent
00018 {  
00019 public:
00020 
00021     DtGotoTaskAgent(
00022       DtVrfEntityBot* bot,
00023       const char* task,
00024       const char* arg1,
00025       const char* arg2,
00026       const char* arg3,
00027       const char* arg4,
00028       const char* command);
00029 
00030    virtual ~DtGotoTaskAgent();
00031 
00033    virtual void Clear();
00034 
00036    virtual bool Think();
00037 
00039    virtual bool HasFinished();
00040 
00042    virtual void onTeleport();
00043 
00044 protected:
00045 
00046    Kaim::GotoAgent* myGotoAgent;
00047    KyResult myStatus;
00048    bool myFinishedStatus;
00049    unsigned int myRetryCount;
00050 };
00051 
00052 } //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)