Breakout Problem Set Javadocs

breakout
Class KillerWall

java.lang.Object
  extended bybreakout.DefaultBreakoutComponent
      extended bybreakout.Wall
          extended bybreakout.KillerWall
All Implemented Interfaces:
BreakoutComponent

public class KillerWall
extends Wall

A KillerWall kills anything that hits it. It is used as the bottom (SOUTH) wall in the World.

Version:
$Id: KillerWall.java,v 1.2 2004/03/26 20:39:33 gus Exp $
Author:
benmv@olin.edu
See Also:
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

KillerWall

public KillerWall(java.awt.Point location,
                  java.awt.Dimension size,
                  World w)
Method Detail

hitBy

public void hitBy(BreakoutComponent bc)
kills any component that hits it.

Specified by:
hitBy in interface BreakoutComponent
Overrides:
hitBy in class Wall
Parameters:
bc - the component about to die

Breakout Problem Set Javadocs