Package com.pocolifo.robobase
Class Robot
- java.lang.Object
-
- com.pocolifo.robobase.Robot
-
public class Robot extends java.lang.Object
Data and other information about the robot. This should be kept as accurate and up-to-date as possible!
-
-
Field Summary
Fields Modifier and Type Field Description boolean
hasWarningSticker
If the robot has the "Warning: Robot Moves on Initialization" sticker on it.double
heightCm
The height of the robot in real life, in centimeters.double
lengthCm
The length of the robot in real life, in centimeters.java.lang.String
robotName
The name of the robot.int
teamNumber
The number of the team who built the robot.double
widthCm
The width of the robot in real life, in centimeters.
-
Constructor Summary
Constructors Constructor Description Robot(double widthCm, double lengthCm, double heightCm, int teamNumber, java.lang.String robotName, boolean hasWarningSticker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesPassDimensionInspection()
Determine if the robot meets dimension requirements.
-
-
-
Field Detail
-
widthCm
public final double widthCm
-
lengthCm
public final double lengthCm
The length of the robot in real life, in centimeters.
This should be calculated by measuring the other side that isn't the height or the side which the width was measured.
-
heightCm
public final double heightCm
The height of the robot in real life, in centimeters.
-
teamNumber
public final int teamNumber
The number of the team who built the robot.
-
robotName
public final java.lang.String robotName
The name of the robot.
-
hasWarningSticker
public final boolean hasWarningSticker
If the robot has the "Warning: Robot Moves on Initialization" sticker on it.
-
-