Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <VisualTargetTrans.h>
Inheritance diagram for VisualTargetTrans:
Definition at line 11 of file VisualTargetTrans.h.
Public Member Functions | |
VisualTargetTrans (StateNode *destination, unsigned int source_id) | |
constructor | |
virtual void | DoStart () |
starts listening for the object specified by the source id in the constructor | |
virtual void | DoStop () |
called by StateNode when it becomes inactive - undo whatever you did in Enable() | |
virtual void | processEvent (const EventBase &e) |
if the object is "close", calls activate() | |
virtual std::string | getName () const |
Identifies the behavior in menus and such. | |
Protected Attributes | |
unsigned int | sid |
Source ID of object to track. | |
unsigned int | count |
number of frames for which we've seen the object |
|
constructor
Definition at line 14 of file VisualTargetTrans.h. |
|
starts listening for the object specified by the source id in the constructor
Reimplemented from BehaviorBase. Definition at line 18 of file VisualTargetTrans.h. |
|
called by StateNode when it becomes inactive - undo whatever you did in Enable()
Reimplemented from BehaviorBase. Definition at line 27 of file VisualTargetTrans.h. |
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 49 of file VisualTargetTrans.h. |
|
if the object is "close", calls activate()
Reimplemented from BehaviorBase. Definition at line 36 of file VisualTargetTrans.h. |
|
number of frames for which we've seen the object
Definition at line 55 of file VisualTargetTrans.h. Referenced by DoStart(), DoStop(), processEvent(), and VisualTargetTrans(). |
|
Source ID of object to track.
Definition at line 53 of file VisualTargetTrans.h. Referenced by DoStart(), and VisualTargetTrans(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:32 2004 by Doxygen 1.3.4 |