Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_IpoActuator Class Reference

Do an object ipo. More...

#include <KX_IpoActuator.h>

Inheritance diagram for KX_IpoActuator:

SCA_IActuator SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Types

enum  IpoActType {
  KX_ACT_IPO_NODEF = 0, KX_ACT_IPO_PLAY, KX_ACT_IPO_PINGPONG, KX_ACT_IPO_FLIPPER,
  KX_ACT_IPO_LOOPSTOP, KX_ACT_IPO_LOOPEND, KX_ACT_IPO_KEY2KEY, KX_ACT_IPO_FROM_PROP,
  KX_ACT_IPO_MAX
}

Public Methods

IpoActType string2mode (char* modename)
 KX_IpoActuator (SCA_IObject* gameobj,const CCString& propname,float starttime,float endtime,int acttype,PyTypeObject* T=&Type)
virtual ~KX_IpoActuator ()
virtual CValueGetReplica ()
void SetStart (float starttime)
void SetEnd (float endtime)
virtual bool Update (double curtime,double deltatime)
virtual PyObject_getattr (char *attr)
 KX_PYMETHOD (KX_IpoActuator,Set)
 KX_PYMETHOD (KX_IpoActuator,SetProperty)
 KX_PYMETHOD (KX_IpoActuator,SetKey2Key)
 KX_PYMETHOD (KX_IpoActuator,SetStart)
 KX_PYMETHOD (KX_IpoActuator,GetStart)
 KX_PYMETHOD (KX_IpoActuator,SetEnd)
 KX_PYMETHOD (KX_IpoActuator,GetEnd)
 KX_PYMETHOD (KX_IpoActuator,SetUseForce)
 KX_PYMETHOD (KX_IpoActuator,GetUseForce)
 KX_PYMETHOD (KX_IpoActuator,SetType)
 KX_PYMETHOD (KX_IpoActuator,GetType)

Public Attributes

IpoActType m_type

Static Public Attributes

CCString S_KX_ACT_IPO_PLAY_STRING = "Play"
 Do Ipo stuff. More...

CCString S_KX_ACT_IPO_PINGPONG_STRING = "PingPong"
CCString S_KX_ACT_IPO_FLIPPER_STRING = "Flipper"
CCString S_KX_ACT_IPO_LOOPSTOP_STRING = "LoopStop"
CCString S_KX_ACT_IPO_LOOPEND_STRING = "LoopEnd"
CCString S_KX_ACT_IPO_KEY2KEY_STRING = "Key2key"
CCString S_KX_ACT_IPO_FROM_PROP_STRING = "FromProp"

Detailed Description

Do an object ipo.

Version:

Id:
KX_IpoActuator.h,v 1.11 2001/01/10 17:38:48 coockie Exp

Definition at line 12 of file KX_IpoActuator.h.


Member Enumeration Documentation

enum KX_IpoActuator::IpoActType
 

Enumeration values:
KX_ACT_IPO_NODEF  
KX_ACT_IPO_PLAY  
KX_ACT_IPO_PINGPONG  
KX_ACT_IPO_FLIPPER  
KX_ACT_IPO_LOOPSTOP  
KX_ACT_IPO_LOOPEND  
KX_ACT_IPO_KEY2KEY  
KX_ACT_IPO_FROM_PROP  
KX_ACT_IPO_MAX  

Definition at line 25 of file KX_IpoActuator.h.


Constructor & Destructor Documentation

KX_IpoActuator::KX_IpoActuator ( SCA_IObject * gameobj,
const CCString & propname,
float starttime,
float endtime,
int acttype,
PyTypeObject * T = &Type ) [inline]
 

Definition at line 50 of file KX_IpoActuator.h.

Referenced by GetReplica().

KX_IpoActuator::~KX_IpoActuator ( ) [inline, virtual]
 

Definition at line 60 of file KX_IpoActuator.h.


Member Function Documentation

CValue * KX_IpoActuator::GetReplica ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 62 of file KX_IpoActuator.h.

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
GetType )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetType )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
GetUseForce )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetUseForce )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
GetEnd )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetEnd )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
GetStart )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetStart )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetKey2Key )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
SetProperty )
 

KX_IpoActuator::KX_PYMETHOD ( KX_IpoActuator,
Set )
 

void KX_IpoActuator::SetEnd ( float endtime ) [inline]
 

Definition at line 71 of file KX_IpoActuator.h.

void KX_IpoActuator::SetStart ( float starttime ) [inline]
 

Definition at line 70 of file KX_IpoActuator.h.

bool KX_IpoActuator::Update ( double curtime,
double delta_time ) [virtual]
 

Reimplemented from SCA_IActuator.

Definition at line 45 of file KX_IpoActuator.cpp.

PyObject * KX_IpoActuator::_getattr ( char * attr ) [virtual]
 

Reimplemented from SCA_ILogicBrick.

Definition at line 309 of file KX_IpoActuator.cpp.

KX_IpoActuator::IpoActType KX_IpoActuator::string2mode ( char * modename )
 

Definition at line 239 of file KX_IpoActuator.cpp.


Member Data Documentation

CCString KX_IpoActuator::S_KX_ACT_IPO_FLIPPER_STRING = "Flipper" [static]
 

Definition at line 40 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_FROM_PROP_STRING = "FromProp" [static]
 

Definition at line 44 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_KEY2KEY_STRING = "Key2key" [static]
 

Definition at line 43 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_LOOPEND_STRING = "LoopEnd" [static]
 

Definition at line 42 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_LOOPSTOP_STRING = "LoopStop" [static]
 

Definition at line 41 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_PINGPONG_STRING = "PingPong" [static]
 

Definition at line 39 of file KX_IpoActuator.h.

CCString KX_IpoActuator::S_KX_ACT_IPO_PLAY_STRING = "Play" [static]
 

Do Ipo stuff.

Version:

Id:
KX_IpoActuator.cpp,v 1.14 2001/01/10 17:38:47 coockie Exp

Definition at line 38 of file KX_IpoActuator.h.

IpoActType KX_IpoActuator::m_type
 

Definition at line 48 of file KX_IpoActuator.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:41 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000