Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Use the addRequirements method in Command classes #27

Open
AndrewLester opened this issue Dec 4, 2020 · 1 comment
Open

Use the addRequirements method in Command classes #27

AndrewLester opened this issue Dec 4, 2020 · 1 comment
Labels
good first issue Good for newcomers learning goal Something to learn about and memorize

Comments

@AndrewLester
Copy link
Member

AndrewLester commented Dec 4, 2020

Use the addRequirements method in the ControlPanelColorCommand class' constructor to add the ControlPanel subsystem as a requirement. Also make sure to use this in the other command classes.

addRequirement?

Originally posted by @ArchdukeTim in #21 (comment)

@AndrewLester AndrewLester added the learning goal Something to learn about and memorize label Dec 4, 2020
@ArchdukeTim
Copy link
Member

And any other command. addRequirements is used by the command scheduler to know which commands can run at the same time as other commands

@AndrewLester AndrewLester changed the title Use the addRequirements method in the ControlPanelColorCommand Use the addRequirements method in Command classes Dec 4, 2020
@ArchdukeTim ArchdukeTim added the good first issue Good for newcomers label Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers learning goal Something to learn about and memorize
Projects
None yet
Development

No branches or pull requests

2 participants