Skip to content

Commit 56f2f6e

Browse files
committed
add extensions
1 parent 467bf63 commit 56f2f6e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package org.nield.dirtyfx.extensions
2+
3+
import org.nield.dirtyfx.tracking.CompositeDirtyProperty
4+
import org.nield.dirtyfx.tracking.DirtyProperty
5+
6+
fun DirtyProperty.addTo(compositeDirtyProperty: CompositeDirtyProperty): DirtyProperty {
7+
compositeDirtyProperty.add(this)
8+
return this
9+
}

0 commit comments

Comments
 (0)