Skip to content
Snippets Groups Projects
Select Git revision
  • b29eb3e1cb166e9c44d98cd32b05de1f10308af8
  • main default protected
2 results

gamemaster.hpp

Blame
  • gamemaster.hpp 766 B
    #ifndef GAMEMASTER_HPP
    #define GAMEMASTER_HPP
    
    #include "application.hpp"
    #include <vector>
    #include <fstream>
    #include <iostream>   // for debug
    
    class GameMaster
    {
        public:
            GameMaster(std::string mo, std::string fe);
            std::vector<std::vector<int>> fajl_beolvasas(std::string fajlnev);
            void fajl_kiiras(std::string fajlnev, std::vector<std::vector<int>> v) const;
            void save();
            std::vector<Index> aura(Index);
            virtual int negyzet_szama(Index);
            virtual bool szabalyos_e(Index);
            virtual void action();
    
        protected:
            std::string _fajl_megoldas, _fajl_feladat, _fajl_save;
            std::vector<std::vector<int>> _megoldas, _feladat, _save;
    };
    
    #endif // GAMEMASTER_HPP