diff options
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PropertySensor.h')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PropertySensor.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.h b/source/gameengine/GameLogic/SCA_PropertySensor.h index ca942076efa..fee03dcf4c0 100644 --- a/source/gameengine/GameLogic/SCA_PropertySensor.h +++ b/source/gameengine/GameLogic/SCA_PropertySensor.h @@ -46,7 +46,6 @@ class SCA_PropertySensor : public SCA_ISensor STR_String m_previoustext; bool m_lastresult; bool m_recentresult; - CExpression* m_range_expr; protected: @@ -69,16 +68,10 @@ public: const STR_String& propval, const STR_String& propmaxval, KX_PROPSENSOR_TYPE checktype); - - /** - * For property sensor, it is used to release the pre-calculated expression - * so that self references are removed before the sensor itself is released - */ - virtual void Delete(); + virtual ~SCA_PropertySensor(); virtual CValue* GetReplica(); virtual void Init(); - void PrecalculateRangeExpression(); bool CheckPropertyCondition(); virtual bool Evaluate(); @@ -96,16 +89,6 @@ public: */ static int validValueForProperty(void* self, const PyAttributeDef*); - /** - * Test whether this is a sensible value for interval (type check) and updates Range Expression - */ - static int validValueForIntervalProperty(void* self, const PyAttributeDef*); - - /** - * Test if the new mode is interval. If positive updates Range Expression - */ - static int modeChange(void* self, const PyAttributeDef* attrdef); - #endif }; |