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/pagefactory.h	Mon Dec 04 09:32:20 2017 +0000
@@ -0,0 +1,55 @@
+//
+// Filename: pagefactory.h
+//
+// Flexbook page creator.
+//
+
+// include guards
+#ifndef PAGEFACTORY_H
+#define PAGEFACTORY_H
+
+#include "book.h"
+
+#include <memory>
+
+namespace Flexbook
+{
+
+typedef int PageType;
+
+class Page;
+
+enum
+{
+PageType_PageSensor =     (1 << 0),
+PageType_PageTouch =      (1 << 1),
+PageType_PageNFC =        (1 << 2),
+PageType_PageFlexEnable = (1 << 6),
+PageType_PageOLED =       (1 << 7),
+PageType_PageDice =       (1 << 3),
+PageType_PageNull =        0
+};
+
+class PageFactory
+{
+public:
+    // Constructor needs to be explicit.
+    explicit PageFactory();
+
+    // Destructor.
+    ~PageFactory();
+
+    BookPage CreatePages(PageType &type);
+  
+private:
+    // Disable the copy constructor.
+    PageFactory(const PageFactory &);
+
+    // Disable assignment.
+    PageFactory &operator=(const PageFactory &);
+};
+
+} // End Flexbook namespace.
+
+#endif // PAGEFACTORY_H
+