VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
surfaceEntityMoveToLocationController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
17 #include "vrfutil/scriptGeometry.h"
18 
30 {
31 private:
34 
38 
42 
43 public:
47  DtVrfObject* owner,
48  DtSimManager* simManager,
49  DtComponentDescriptor* desc = 0,
50  DtReaderWriterRegistry* parentRegistry = 0);
51 
54 
57  virtual DtString type() const;
58 
67  static void moveToLocationCallback(DtSimMessage* msg, void* usr);
68 
73  virtual void processMoveToLocationTask(DtSimMessage* msg);
74 
77  virtual void initializeLocals(const DtVector& globalTarget);
78 
82  virtual void registerTaskMsgCallbacks();
83 
87  static DtSimComponent* creator(const DtString& name,
88  DtVrfObject* owner,
89  DtSimManager* simManager,
90  DtComponentDescriptor* desc = 0,
91  DtReaderWriterRegistry* parentRegistry = 0);
92 
93  virtual void tick();
94 
95 protected:
109  virtual bool setupControlPoint();
110 
114  virtual bool passedGoal();
115 
117  virtual bool atGoal();
118 
125  virtual void controlMovement();
126 
127 protected:
130  DtBoolean myPassedGoal;
131  DtBoolean myAtGoal;
134 
135 
136 
137 
141 };
142 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)