|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Ball in PinBallDomain |
---|
Methods in PinBallDomain that return Ball | |
---|---|
static Ball |
Ball.create(java.lang.String line)
Creates a ball object from a line in a config file. |
Ball |
PinBall.getBall()
Get the ball object. |
Methods in PinBallDomain with parameters of type Ball | |
---|---|
boolean |
Target.collision(Ball b)
Determine whether a collision takes place with the ball. |
boolean |
PolygonObstacle.collision(Ball b)
Determine whether or not there has been a collision. |
boolean |
Obstacle.collision(Ball b)
Determine whether a collision with the ball has occurred. |
double[] |
Target.collisionEffect(Ball b)
Compute collision effect with the ball. |
double[] |
PolygonObstacle.collisionEffect(Ball b)
Determine the effect of the ball's collision with the obstacle. |
double[] |
Obstacle.collisionEffect(Ball b)
Return the effect of a collision with the ball. |
boolean |
PinBall.episodeEnd(Ball b)
Check if the episode would be over, given a ball position. |
Constructors in PinBallDomain with parameters of type Ball | |
---|---|
PinBall(java.lang.String configfile,
Ball b)
Constructor: load the domain from a file, with a specified initial ball position. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |