2019-11-29 23:45:41 +00:00
|
|
|
from enum import Enum
|
2019-11-11 12:40:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Emotion(Enum):
|
2019-11-29 23:45:41 +00:00
|
|
|
CAT = "cat"
|
|
|
|
CRY = "cry"
|
|
|
|
DISAPPOINTED = "disappointed"
|
|
|
|
DOOTFLUTE = "dootflute"
|
|
|
|
DOOTTRUMPET = "doottrumpet"
|
|
|
|
GRIN = "grin"
|
|
|
|
HALFLIFE = "halflife"
|
|
|
|
HAPPY = "happy"
|
|
|
|
KEY = "key"
|
|
|
|
KEYFACE = "keyface"
|
|
|
|
NEUTRAL = "neutral"
|
|
|
|
QUESTION = "question"
|
|
|
|
SMUG = "smug"
|
|
|
|
SURPRISED = "surprised"
|
|
|
|
WINK = "wink"
|
|
|
|
WORRIED = "worried"
|
|
|
|
X = "x"
|
2019-11-11 12:40:26 +00:00
|
|
|
|
|
|
|
def __str__(self):
|
2019-11-29 23:45:41 +00:00
|
|
|
return self.value
|
2019-11-11 12:40:26 +00:00
|
|
|
|
|
|
|
def __repr__(self):
|
|
|
|
return f"<{self.__class__.__qualname__} {self.name}: {self.value}>"
|