forked from University/epr24pr42-ojanssen2
23 lines
351 B
C++
23 lines
351 B
C++
#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
|