Reset Exercise

This commit is contained in:
Artemis 2025-01-19 17:56:20 +01:00
parent 882695c6b6
commit d48e9d7b28
20 changed files with 380 additions and 1110 deletions

View file

@ -1,23 +0,0 @@
#include "../std_lib_inc.h"
#ifndef MALFORMEDMAZE_H
#define MALFORMEDMAZE_H
namespace game_exceptions
{
class MalformedMaze
{
string why;
public:
MalformedMaze(string why): why(why)
{
}
string what()
{
return this->why;
}
};
} // game_exceptions
#endif //MALFORMEDMAZE_H

View file

@ -1,23 +0,0 @@
#include "../std_lib_inc.h"
#ifndef MOVEMENTNOTPOSSIBLE_H
#define MOVEMENTNOTPOSSIBLE_H
namespace game_exceptions
{
class MovementNotPossible
{
string why;
public:
MovementNotPossible(string why): why(why)
{
}
string what()
{
return this->why;
}
};
} // game_exceptions
#endif //MOVEMENTNOTPOSSIBLE_H

View file

@ -1,23 +0,0 @@
#include "../std_lib_inc.h"
#ifndef UNKOWNACTION_H
#define UNKOWNACTION_H
namespace game_exceptions
{
class UnkownAction
{
string why;
public:
UnkownAction(string why): why(why)
{
}
string what()
{
return this->why;
}
};
} // game_exceptions
#endif //UNKOWNACTION_H