diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-14 21:12:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-14 21:12:49 +0400 |
commit | fc7a83b458811883b01e948a37e6177ae96602db (patch) | |
tree | 8188c60e419df90e1f0c699c2d227e3d6290ae7a /source/gameengine/Ketsji/KX_SG_NodeRelationships.h | |
parent | 9c2bf9bdbcc23bb008af543b4fbbdf7c33d0decd (diff) |
Added access for adjusting timeOffset value at runtime, used for apricot (Franky climbing walls)
Diffstat (limited to 'source/gameengine/Ketsji/KX_SG_NodeRelationships.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_SG_NodeRelationships.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h index e53af22408e..faa650106c8 100644 --- a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h +++ b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h @@ -177,8 +177,23 @@ public : NewCopy( ); + MT_Scalar + GetTimeOffset( + ) { return m_relax; } + + void + SetTimeOffset( + MT_Scalar relaxation + ) { m_relax = relaxation; } + ~KX_SlowParentRelation( ); + + bool + IsSlowRelation( + ) { + return true; + } private : |