public static LED GetInstance() { if (instance == null) { instance = new LED(); } return(instance); }
private Transfer() { Robotmap map = Robotmap.GetInstance(); transferMotor = new TalonSRX(map.GetTransfer_ID()); //Creates the motor transferMotor.SetInverted(true); CANController = Robotmap.GETCANController(); //Creates the first sensor numberOfBalls = 0; //The original amount of balls glowing = LED.GetInstance(); m_currentState = TRANSFER_STATE.TRANSFER_OFF; eject = Intake.GetInstance(); }