27 lines
369 B
C
27 lines
369 B
C
|
//
|
||
|
// Created by moonleay on 12/17/24.
|
||
|
//
|
||
|
|
||
|
#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
|