All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.RobotInfo

java.lang.Object
   |
   +----ch.jp.robwar.RobotInfo

public class RobotInfo
extends Object
implements Serializable
This class is a data structure of the robot position and orientation used by the Feedback class.


Variable Index

 o life
 o nbRockets
Number of rockets left to fire
 o orientation
 o position
 o radius
 o robotNumber

Constructor Index

 o RobotInfo()
 o RobotInfo(RobotImage)

Method Index

 o getOrientationDeg()
 o getOrientationRad()

Variables

 o position
 public Position position
 o orientation
 public double orientation
 o radius
 public double radius
 o robotNumber
 public int robotNumber
 o life
 public double life
 o nbRockets
 public int nbRockets
Number of rockets left to fire

Constructors

 o RobotInfo
 public RobotInfo(RobotImage img)
 o RobotInfo
 public RobotInfo()

Methods

 o getOrientationDeg
 public double getOrientationDeg()
 o getOrientationRad
 public double getOrientationRad()

All Packages  Class Hierarchy  This Package  Previous  Next  Index