VR-Forces 4.0.4 Class Documentation
include/bhaveSim/wanderTaskAgent.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 <bhaveSim/bhaveWanderAgent.h>
00012 #include <vrfcore/exClock.h>
00013 
00014 class DtVrfObject;
00015 
00016 namespace BHAVE
00017 {
00018 
00020 class DT_DLL_bhaveSim DtWanderTaskAgent : public DtVrfTaskAgent
00021 {  
00022 public:
00023 
00024    DtWanderTaskAgent(
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 ~DtWanderTaskAgent();
00034 
00036    virtual void Clear();
00037 
00039    virtual bool Think();
00040 
00042    virtual bool HasFinished();
00043 
00045    virtual void onTeleport();
00046 
00048    virtual void encodeTask(DtKynapsePSR*);
00049 
00051    virtual void decodeTask(DtKynapsePSR*);
00052 
00053 protected:
00054 
00055    Kaim::bhaveWanderAgent* myWanderAgent;
00056    KyResult myStatus;
00057    bool myFinishedStatus;
00058    DtVrfObject* myWanderArea;
00059    DtTime myTaskEndDate;
00060 };
00061 
00062 } //namespace BHAVE
00063 

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)