menu
easy_physics_2d package
documentation
objects.dart
physicsObject
setPosition method
setPosition method
dark_mode
light_mode
setPosition
method
void
setPosition
(
double
x
,
double
y
)
Implementation
void setPosition(double x, double y) { before_xPos = xPos; before_yPos = yPos; xPos = x; yPos = y; }
easy_physics_2d package
documentation
objects
physicsObject
setPosition method
physicsObject class