Last commit before the massive state refactor.
This commit is contained in:
@ -18,7 +18,7 @@ namespace Dawn {
|
||||
assertNotNull(this->owner);
|
||||
auto old = this->value;
|
||||
this->value = val;
|
||||
this->owner->onStatePropertyUpdated(this, val, old);
|
||||
this->owner->_statePropertyUpdated(this, val, old);
|
||||
}
|
||||
|
||||
public:
|
||||
@ -44,6 +44,10 @@ namespace Dawn {
|
||||
return this->value;
|
||||
}
|
||||
|
||||
~StateProperty() {
|
||||
this->owner->_statePropertyDestroyed(this);
|
||||
}
|
||||
|
||||
friend class StateOwner;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user