Lobster controller program

Dependencies:   FatFileSystem HBridge MSCFileSystem WavPlayer mbed

Fork of RSALB_hbridge_helloworld by Giles Barton-Owen

Revision:
2:f8199cc69b20
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ActionCue/ActionCue.h	Fri Sep 21 14:24:10 2012 +0000
@@ -0,0 +1,40 @@
+#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
\ No newline at end of file