Lobster controller program
Dependencies: FatFileSystem HBridge MSCFileSystem WavPlayer mbed
Fork of RSALB_hbridge_helloworld by
ActionCue/ActionCue.h
- Committer:
- p07gbar
- Date:
- 2012-09-21
- Revision:
- 2:f8199cc69b20
File content as of revision 2:f8199cc69b20:
#ifndef ACTIONCUE_H #define ACTIONCUE_H #define ACTIONCUE_SIZE 100 #include "Action.h" class ActionCue { public: ActionCue(); void addAction(Action action_to_add); int numActionsStored(); Action nextAction(); void usedFirst(); Action actionAt(float time); void orderCue(); private: Action cue[ACTIONCUE_SIZE]; int start; int finish; int numStored; int wrap(int in); }; #endif