|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--lane.sente.GameElementUI
|
+--lane.sente.AnimateGameElementUI
|
+--lane.sente.RobotUI
|
+--lane.sente.ThreeDRobotUI
This is
| Fields inherited from class lane.sente.GameElementUI |
sphere, theContainer, xLocation, xSize, yLocation, ySize, zLocation |
| Constructor Summary | |
ThreeDRobotUI(RobotArenaUI theContainer)
constructor |
|
| Method Summary | |
void |
paint(java.awt.Graphics g)
paints this object to the screen not needed in 3D, and a sign of bad design |
void |
setBattery(int level)
Sets the batteryto a certian level |
void |
setXTurret(int xangle)
sets the X turret angle (0-360) |
void |
setZTurret(int zangle)
sets the Z turret angle (0-360) |
| Methods inherited from class lane.sente.GameElementUI |
getName, getObject, setXlocation, setXSize, setYlocation, setYSize, setZlocation, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lane.sente.GameElementListener |
setXlocation, setXSize, setYlocation, setYSize, setZlocation |
| Constructor Detail |
public ThreeDRobotUI(RobotArenaUI theContainer)
theContainer - The container in which this RobotUI lives| Method Detail |
public void setXTurret(int xangle)
xangle - The angle to set the turret to (0-360)public void setZTurret(int zangle)
zangle - The angle to set the turret to (0-360)public void setBattery(int level)
level - The new level of the batterypublic void paint(java.awt.Graphics g)
paint in class AnimateGameElementUIg - The graphics object to paint to
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||