Class Bumper

java.lang.Object
  extended by Bumper

public class Bumper
extends java.lang.Object


Constructor Summary
Bumper()
           
Bumper(int x, int y, int xWidth, int yWidth, java.awt.Color c)
           
 
Method Summary
 void draw(java.awt.Graphics myBuffer)
           
 java.awt.Color getColor()
           
 int getX()
           
 int getXWidth()
           
 int getY()
           
 int getYWidth()
           
 boolean inBumper(Polkadot dot)
           
 void jump(int rightEdge, int bottomEdge)
           
 void setColor(java.awt.Color c)
           
 void setX(int x)
           
 void setXWidth(int xWidth)
           
 void setY(int y)
           
 void setYWidth(int yWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bumper

public Bumper()

Bumper

public Bumper(int x,
              int y,
              int xWidth,
              int yWidth,
              java.awt.Color c)
Method Detail

getX

public int getX()

getY

public int getY()

getXWidth

public int getXWidth()

getYWidth

public int getYWidth()

getColor

public java.awt.Color getColor()

setX

public void setX(int x)

setY

public void setY(int y)

setXWidth

public void setXWidth(int xWidth)

setYWidth

public void setYWidth(int yWidth)

setColor

public void setColor(java.awt.Color c)

jump

public void jump(int rightEdge,
                 int bottomEdge)

draw

public void draw(java.awt.Graphics myBuffer)

inBumper

public boolean inBumper(Polkadot dot)