Commit | Line | Data |
---|---|---|
5b3b1652 | 1 | package org.usfirst.frc.team3501.bases; |
b2640783 LH |
2 | |
3 | import edu.wpi.first.wpilibj.command.Scheduler; | |
4 | ||
5 | public abstract class Command | |
6 | extends edu.wpi.first.wpilibj.command.Command | |
7 | implements CommandBase { | |
8 | ||
9 | public Command(String commandName) { | |
10 | super(commandName); | |
11 | } | |
12 | ||
13 | protected void schedule(Command c) { | |
14 | Scheduler.getInstance().add(c); | |
15 | } | |
16 | ||
17 | protected void initialize() {} | |
18 | ||
19 | protected void execute() {} | |
20 | ||
21 | protected void end() {} | |
22 | ||
23 | protected void interrupted() {} | |
24 | } |