All Packages Class Hierarchy This Package Previous Next Index
Class breakout.ClassicBall
java.lang.Object
|
+----breakout.ClassicBall
- public class ClassicBall
- extends java.lang.Object
- implements breakout.BreakOutBall, cs101.lang.Animate
-
anim
-
-
ballrepos
-
-
ballType
-
-
brickrepos
-
-
center
-
-
radius
-
-
screen
-
-
xVel
-
-
yVel
-
-
ClassicBall(ScreenCanvas, BrickRepository, BallRepository, int, int, double, double, int)
-
-
act()
-
-
changeXvelocity(double)
-
-
changeYvelocity(double)
-
-
getCenter()
-
-
getRadius()
-
-
getXvelocity()
-
-
getYvelocity()
-
-
paintClassicBall(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
anim
private cs101.lang.AnimatorThread anim
ballType
public int ballType
ClassicBall
public ClassicBall(breakout.ScreenCanvas sc,
breakout.BrickRepository brickrepos,
breakout.BallRepository ballrepos,
int centerX,
int centerY,
double xVel,
double yVel,
int ballType)
getCenter
public java.awt.Point getCenter()
getRadius
public double getRadius()
getXvelocity
public double getXvelocity()
getYvelocity
public double getYvelocity()
changeXvelocity
public void changeXvelocity(double xVel)
changeYvelocity
public void changeYvelocity(double yVel)
paintClassicBall
public void paintClassicBall(java.awt.Graphics g)
act
public void act()
All Packages Class Hierarchy This Package Previous Next Index