|
Breakout Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbreakout.DefaultBreakoutComponent
breakout.Wall
breakout.TransferWall
A TransferWall indicates that Balls that strike it should leave the World for another. Used by the World in a network game as the top (NORTH) wall.
Ball
,
World
Constructor Summary | |
TransferWall(java.awt.Point location,
java.awt.Dimension size,
World w)
|
Method Summary | |
void |
hitBy(BreakoutComponent bc)
Balls that strike this are indicated to the world as leaving. |
Methods inherited from class breakout.Wall |
kill, paint |
Methods inherited from class breakout.DefaultBreakoutComponent |
getCenter, getLocation, getShape, getSize, isDead, isTransient, setLocation, setWorld |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransferWall(java.awt.Point location, java.awt.Dimension size, World w)
Method Detail |
public void hitBy(BreakoutComponent bc)
hitBy
in interface BreakoutComponent
hitBy
in class Wall
bc
- BreakoutComponent that will be leaving if it's a Ball.
|
Breakout Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |