Site hosted by Angelfire.com: Build your free website today!

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>

Class Debris

 
java.lang.Object
  extended byMovingObject
      extended byDebris

All Implemented Interfaces:

Movable


public class Debris

extends MovingObject

 


Field Summary

 

Fields inherited from class MovingObject

SECTOR

 

Constructor Summary

Debris(java.awt.Polygon poly, java.awt.Color col)
           

 

 

Method Summary

 void

draw(java.awt.Graphics g)
           

 void

fadeInOut()
           

 java.awt.Color

getColor()
           

 int

getFadeValue()
           

 java.awt.Polygon

getPoly()
           

 int

getVectorX()
           

 int

getVectorY()
           

 void

move()
           

 void

setFadeValue(int n)
           

 void

setVectorX(int n)
           

 void

setVectorY(int n)
           

 

Methods inherited from class MovingObject

die, getCenter, getDeltaX, getDeltaY, getDie, getDim, getFriend, getOrientation, getRadius, isExploding, points, setCenter, setColor, setDeltaX, setDeltaY, setDie, setDim, setFriend, setOrientation, setRadius

 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Debris

 
public Debris(java.awt.Polygon poly,
              java.awt.Color col)

Method Detail

getColor

 
public java.awt.Color getColor()

Overrides:

getColor in class MovingObject


getVectorX

 
public int getVectorX()

setVectorX

 
public void setVectorX(int n)

getVectorY

 
public int getVectorY()

setVectorY

 
public void setVectorY(int n)

getPoly

 
public java.awt.Polygon getPoly()

draw

 
public void draw(java.awt.Graphics g)

move

 
public void move()

getFadeValue

 
public int getFadeValue()

setFadeValue

 
public void setFadeValue(int n)

fadeInOut

 
public void fadeInOut()

Specified by:

fadeInOut in interface Movable

Overrides:

fadeInOut in class MovingObject

size=2 width="100%" align=center>

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>