lane.sente
Interface AnimateGameElementListener
- All Superinterfaces:
- GameElementListener
- All Known Subinterfaces:
- RobotListener
- public interface AnimateGameElementListener
- extends GameElementListener
This class is used by other elements that want to get information from the Animate Game Element
Method Summary |
void |
setBattery(int level)
This is what is called to notify of a change in the battery level |
void |
setXTurret(int xangle)
This is what is called to notify of a change in the turret direction |
void |
setZTurret(int zangle)
This is what is called to notify of a change in the turret direction |
setXTurret
public void setXTurret(int xangle)
- This is what is called to notify of a change in the turret direction
- Parameters:
xangle
- the angle of the turret in the x plane
setZTurret
public void setZTurret(int zangle)
- This is what is called to notify of a change in the turret direction
- Parameters:
zangle
- the angle of the turret in the z plane
setBattery
public void setBattery(int level)
- This is what is called to notify of a change in the battery level
- Parameters:
level
- the level of the battery