|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bytefarmers.droids.models.DroidModel
com.bytefarmers.droids.games.models.AbstractBallModel
| Field Summary | |
java.lang.String |
containmentZone
|
java.awt.Point |
defaultPosition
|
| Fields inherited from class com.bytefarmers.droids.models.DroidModel |
arrowColor, borderColor, dcs, defaultLocation, direction, droidColor, location, radius, target, trajectory, velocity |
| Constructor Summary | |
AbstractBallModel(int x,
int y,
java.awt.Color ballColor,
int radius)
|
|
| Method Summary | |
void |
render(java.awt.Graphics2D g2d)
render object onto viewport |
| Methods inherited from class com.bytefarmers.droids.models.DroidModel |
getAngleTo, getBorderLocation, getBorderLocation, getDefaultLocation, getDirection, getDistanceTo, getLocation, getRadius, getTarget, getVelocity, getX, getY, moveDirection, moveTowards, setDefaultLocation, setDirection, setLocation, setLocation, setRadius, setTarget, setVelocity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.awt.Point defaultPosition
public java.lang.String containmentZone
| Constructor Detail |
public AbstractBallModel(int x,
int y,
java.awt.Color ballColor,
int radius)
| Method Detail |
public void render(java.awt.Graphics2D g2d)
DroidModel
render in class DroidModelg2d - Graphics2S viewport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||