Package com.pocolifo.robobase
Class Robot
- java.lang.Object
-
- com.pocolifo.robobase.Robot
-
public class Robot extends java.lang.ObjectData 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 booleanhasWarningStickerIf the robot has the "Warning: Robot Moves on Initialization" sticker on it.doubleheightCmThe height of the robot in real life, in centimeters.doublelengthCmThe length of the robot in real life, in centimeters.java.lang.StringrobotNameThe name of the robot.intteamNumberThe number of the team who built the robot.doublewidthCmThe 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 booleandoesPassDimensionInspection()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.
-
-