FXGL
FXGL copied to clipboard
Complete RechargeableComponent and its test
Code coverage: https://codecov.io/gh/AlmasB/FXGL/src/dev/fxgl/src/main/kotlin/com/almasb/fxgl/dsl/components/RechargeableComponents.kt
File in fxgl module: RechargeableDoubleComponentTest
- [x] Update the component based on the discussion (points 1 and 2) in #840
This may not be as trivial as it looks since users can bind valueProperty() and maxValueProperty()
- [x] Add
valuePercent, which returns current value as a%of max value