Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include "memory_Context.h"
-
-
- template <typename T> T memory_Context::field(const std::string &fieldName) {
- if (fieldName == "didLaunch") {
- return didLaunch;
- }
-
- // TODO
-
- return 0;
- }
-
- template <typename T> void memory_Context::setField(const std::string &fieldName, T value) {
- if (fieldName == "didLaunch") {
- didLaunch = value;
- }
-
- // TODO
- }
-
- memory_Context memory_createContext() {
- return memory_Context();
- }
|