Back to project page min3d.
The source code is released under:
MIT License
If you think the Android project min3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.min3d.lib.vos; // w w w .j av a2 s. com import com.min3d.lib.interfaces.IDirtyManaged; import com.min3d.lib.interfaces.IDirtyParent; public abstract class AbstractDirtyManaged implements IDirtyManaged { protected IDirtyParent _parent; protected boolean _dirty; public AbstractDirtyManaged(IDirtyParent $parent) { _parent = $parent; } public boolean isDirty() { return _dirty; } public void setDirtyFlag() { _dirty = true; if (_parent != null) _parent.onDirty(); } public void clearDirtyFlag() { _dirty = false; } }