Restrict access to package-private vars in PhysicsComponent #795
Labels
codefest23-24
difficulty:medium
API design elements, need time to think through
help wanted
Contributions welcome / high PR acceptance rate
type:refactor
Clean up / upgrade code
File: https://github.com/AlmasB/FXGL/blob/dev/fxgl-entity/src/main/java/com/almasb/fxgl/physics/PhysicsComponent.java
These:
should be private with appropriate accessors (probably package-private methods). Plus there is a
getBody()
method already, which can be used.The text was updated successfully, but these errors were encountered: