All Packages Class Hierarchy This Package Previous Next Index
Class breakout.GhostBall
java.lang.Object
|
+----breakout.GhostBall
- public class GhostBall
- extends java.lang.Object
- implements breakout.BreakOutBall
-
ballrepos
-
-
ballType
-
-
brickrepos
-
-
center
-
-
radius
-
-
screen
-
-
xVel
-
-
yVel
-
-
GhostBall(ScreenCanvas, BrickRepository, BallRepository, int, int, int)
-
-
changeCenter(int, int)
-
-
changeXvelocity(double)
-
-
changeYvelocity(double)
-
-
getCenter()
-
-
getRadius()
-
-
getXvelocity()
-
-
getYvelocity()
-
-
paintGhostBall(Graphics)
-
screen
breakout.ScreenCanvas screen
brickrepos
breakout.BrickRepository brickrepos
ballrepos
breakout.BallRepository ballrepos
center
java.awt.Point center
radius
public double radius
xVel
public double xVel
yVel
public double yVel
ballType
public int ballType
GhostBall
public GhostBall(breakout.ScreenCanvas screen,
breakout.BrickRepository brickrepos,
breakout.BallRepository ballrepos,
int centerX,
int centerY,
int ballType)
getCenter
public java.awt.Point getCenter()
changeCenter
public void changeCenter(int x,
int y)
getRadius
public double getRadius()
getXvelocity
public double getXvelocity()
getYvelocity
public double getYvelocity()
changeXvelocity
public void changeXvelocity(double xVel)
changeYvelocity
public void changeYvelocity(double yVel)
paintGhostBall
public void paintGhostBall(java.awt.Graphics g)
All Packages Class Hierarchy This Package Previous Next Index