Package frc.robot
Class GameData
- java.lang.Object
-
- frc.robot.GameData
-
public class GameData extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.wpi.first.wpilibj.util.Color8Bit
getControlColor()
frc.robot.GameData.Stage
getGameStage()
static GameData
getInstance()
Get the GameData instance
-
-
-
Method Detail
-
getInstance
public static GameData getInstance()
Get the GameData instance- Returns:
- GameData instance
-
getGameStage
public frc.robot.GameData.Stage getGameStage()
- Returns:
- one of the three enums in Stages to know which stage we are in.
-
getControlColor
public edu.wpi.first.wpilibj.util.Color8Bit getControlColor()
- Returns:
- a Color object
-
-