Class GameSpecificMessage2018


  • public class GameSpecificMessage2018
    extends java.lang.Object
    • Constructor Detail

      • GameSpecificMessage2018

        public GameSpecificMessage2018​(java.lang.String message)
        Create a game specific message for the 2018 game.
        Parameters:
        message - The message delivered from the driver station (ex. "rlr")
    • Method Detail

      • getAllianceSwitch

        public GameSpecificMessage2018.Location getAllianceSwitch()
        Get the location of the alliance switch.
        Returns:
        The location of the alliance side switch.
      • getOpposingAllianceSwitch

        public GameSpecificMessage2018.Location getOpposingAllianceSwitch()
        Get the location of the opposing alliance switch.
        Returns:
        The location of the opposing alliance switch.