lejos.realtime
Class EnergyParameters

java.lang.Object
  extended by lejos.realtime.EnergyParameters

public class EnergyParameters
extends Object

Author:
amahendran

Constructor Summary
EnergyParameters()
           
EnergyParameters(int energy)
           
 
Method Summary
 int getEnergy()
          Gets the energy value.
 String toString()
          Converts the energy value to a string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnergyParameters

public EnergyParameters()

EnergyParameters

public EnergyParameters(int energy)
Method Detail

getEnergy

public int getEnergy()
Gets the energy value.

Returns:
The energy value.

toString

public String toString()
Converts the energy value to a string.

Overrides:
toString in class Object
Returns:
A string representing the value of energy.