Make Quale derive from MentalExistent.
This commit is contained in:
@@ -3,8 +3,12 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <attentionTrigger.h>
|
||||
#include <mentalExistent.h>
|
||||
|
||||
namespace smo {
|
||||
|
||||
class Quale
|
||||
: public MentalExistent
|
||||
{
|
||||
public:
|
||||
enum class Type
|
||||
@@ -19,6 +23,11 @@ public:
|
||||
PLEASURABLE
|
||||
} type;
|
||||
|
||||
public:
|
||||
Quale(const Type type, const int32_t intensity)
|
||||
: type(type), intensity(intensity) {}
|
||||
|
||||
public:
|
||||
int32_t intensity;
|
||||
};
|
||||
|
||||
@@ -36,4 +45,6 @@ public:
|
||||
public:
|
||||
};
|
||||
|
||||
} // namespace smo
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user