Added HangmanGame class, but does not work yet
Dependencies: SDFileSystem app epson mbed msp430 pl tests
book.h
- Committer:
- markpsymonds
- Date:
- 2017-12-04
- Revision:
- 1:a5ec6f9dcf0d
- Parent:
- 0:fa7450a43b99
File content as of revision 1:a5ec6f9dcf0d:
// // Filename: book.h // // Container for Flexbook pages. // // include guards #ifndef BOOK_H #define BOOK_H #include "page.h" namespace Flexbook { class Page; class PageFactory; typedef int PageType; class Book { public: // Constructor needs to be explicit. explicit Book(PageFactory &factory); // Destructor. ~Book(); // Page change notification. void PageChange(PageType type); // Return the type of the currently active page. PageType GetPageType() const; void HandleActions(); private: // Disable the copy constructor. Book(const Book &); // Disable assignment. Book &operator=(const Book &); PageFactory &factory; PageType pagetype; BookPage page; }; } // End Flexbook namespace. #endif // BOOK_H