Added HangmanGame class, but does not work yet

Dependencies:   SDFileSystem app epson mbed msp430 pl tests

Revision:
0:fa7450a43b99
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pagetouch.h	Mon Dec 04 09:32:20 2017 +0000
@@ -0,0 +1,58 @@
+//
+// Filename: pagetouch.h
+//
+// Flexbook page for page A4.
+//
+
+// include guards
+#ifndef PAGETOUCH_H
+#define PAGETOUCH_H
+
+#include "page.h"
+#include "pageflexenable.h"
+
+#include "mbed.h"
+
+#include "at42qt2120.h"
+
+namespace Flexbook
+{
+
+class PageTouch : public Page
+{
+public:
+    // Constructor needs to be explicit.
+    explicit PageTouch();
+
+    // Destructor.
+    virtual ~PageTouch();
+    
+    //virtual void HandlePageActions();
+
+    int GetKey();
+    
+private:
+    // Disable the copy constructor.
+    PageTouch(const PageTouch &);
+
+    // Disable assignment.
+    PageTouch &operator=(const PageTouch &);
+
+    void TouchChange();
+    PageFlexEnable pageflexenable;
+
+    // Touch sensor.
+    I2C i2c;
+    InterruptIn irq;
+    HAL::AT42QT2120 at42qt2120;
+    
+    int key;
+    bool newtouch;
+    int imgnumber;
+
+};
+
+} // End Flexbook namespace.
+
+#endif // PAGETOUCH_H
+