Property | Type | Description | |
---|---|---|---|
MAX_R | double | ||
MAX_V | double | ||
MAX_VALUE | double | ||
MIN_R | double | ||
MIN_V | double | ||
MIN_VALUE | double |
Method | Description | |
---|---|---|
BallModel ( int id, double x, double y, double r, double angle, double velocity ) : System | ||
addBallModelListener ( BallModelListener listener ) : void | ||
fireBallModelChanged ( ) : void | ||
removeBallModelListener ( BallModelListener listener ) : void | ||
setPosition ( double x, double y ) : void |
Method | Description | |
---|---|---|
convertRadiusToValue ( double radius ) : double | ||
convertValueToRadius ( double value ) : double |
public BallModel ( int id, double x, double y, double r, double angle, double velocity ) : System | ||
id | int | |
x | double | |
y | double | |
r | double | |
angle | double | |
velocity | double | |
return | System |
public addBallModelListener ( BallModelListener listener ) : void | ||
listener | BallModelListener | |
return | void |
public removeBallModelListener ( BallModelListener listener ) : void | ||
listener | BallModelListener | |
return | void |
public setPosition ( double x, double y ) : void | ||
x | double | |
y | double | |
return | void |