Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed

This commit is contained in:
2020-05-04 11:17:11 -05:00
parent 4055f645f3
commit da5d740c6e
11 changed files with 78 additions and 87 deletions

View File

@@ -43,6 +43,7 @@ module CyberarmEngine
@fraction = decimal.clamp(0.0, 1.0)
update_background
publish(:changed, @fraction)
return @fraction
end
end