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