All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class breakout.BallRepository

java.lang.Object
   |
   +----breakout.BallRepository

public class BallRepository
extends java.lang.Object

Variable Index

 o ballvect
 o brickrepos
 o numberOfGhostBalls
 o numberOfMyBalls
 o playerCount
 o screen
 o updates

Constructor Index

 o BallRepository(ScreenCanvas, BrickRepository)

Method Index

 o addBall(BreakOutBall)
 o deleteBall(BreakOutBall)
 o makeGhostBall(int, int)
 o makeInitialBall()
 o makeMultiBalls(ClassicBall)
 o paintBalls(Graphics)

Variables

 o screen
 private breakout.ScreenCanvas screen
 o brickrepos
 private breakout.BrickRepository brickrepos
 o ballvect
 public java.util.Vector ballvect
 o playerCount
 private int playerCount
 o numberOfMyBalls
 public int numberOfMyBalls
 o numberOfGhostBalls
 public int numberOfGhostBalls
 o updates
 public breakout.Updater updates

Constructors

 o BallRepository
 public BallRepository(breakout.ScreenCanvas screen,
                       breakout.BrickRepository brickrepos)

Methods

 o makeInitialBall
 public void makeInitialBall()
 o makeMultiBalls
 public void makeMultiBalls(breakout.ClassicBall boball)
 o makeGhostBall
 public void makeGhostBall(int centerX,
                           int centerY)
 o addBall
 public void addBall(breakout.BreakOutBall newball)
 o deleteBall
 public void deleteBall(breakout.BreakOutBall ball)
 o paintBalls
 public void paintBalls(java.awt.Graphics g)

All Packages  Class Hierarchy  This Package  Previous  Next  Index