Skip to content
Snippets Groups Projects
Commit a8b2fedc authored by Monoki Dorina's avatar Monoki Dorina
Browse files

egy folosleges fuggveny eltavolitasa

parent 5fcfa08d
Branches main
No related tags found
No related merge requests found
......@@ -86,23 +86,6 @@ set<int> GameMaster::szabalytalanok()
return s;
}
bool GameMaster::szabalyos_e(int jelenlegi_int, int jelenlegi_ertek)
{
bool valasz=true;
std::set<int> aura_halmaz = aura(jelenlegi_int);
for (int i=0; i<_megoldas.size(); i++)
{
if (aura_halmaz.find(i) != aura_halmaz.end())
{
if (jelenlegi_ertek == _megoldas[i] && _megoldas[i]!=0)
{
valasz=false;
}
}
}
return valasz;
}
int GameMaster::negyzet_szama(Index jelenlegi)
{
if (jelenlegi.sor <= 2)
......
......@@ -25,7 +25,6 @@ class GameMaster
virtual int negyzet_szama(Index);
virtual bool kesz();
virtual bool szabalyos_e(int,int);
virtual void uj_jatek();
virtual void kezdo_jatek();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment