|
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.KillerWall
A KillerWall kills anything that hits it. It is used as the bottom (SOUTH) wall in the World.
World
Constructor Summary | |
KillerWall(java.awt.Point location,
java.awt.Dimension size,
World w)
|
Method Summary | |
void |
hitBy(BreakoutComponent bc)
kills any component that hits it. |
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 KillerWall(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
- the component about to die
|
Breakout Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |