25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
239 B

  1. #ifndef HACKTHEGAME_SAVELOAD_HPP
  2. #define HACKTHEGAME_SAVELOAD_HPP
  3. #include "src/class/player.hpp"
  4. #include <fstream>
  5. class Memory
  6. {
  7. public:
  8. static Player *loadFromCode(std::string);
  9. static std::string saveToCode(Player *);
  10. };
  11. #endif