mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-17 01:34:32 +02:00
2.4 KiB
2.4 KiB
EmotionType
Namespace: TinyLife > Emotions
Assembly: Tiny Life.dll
Summary
An emotion type is a type of feeling that a TinyLife.Objects.Person
can have. The emotion that a person has results from that person's applied TinyLife.Emotions.EmotionModifier``TinyLife.Emotions.EmotionModifier.Instance
s.
Constructors
Name | Summary |
---|---|
EmotionType ( String , TextureRegion , Color , TypeCategory ) |
Fields
Type | Name | Summary |
---|---|---|
TypeCategory | Category | The TinyLife.Emotions.EmotionType.TypeCategory that this emotion type fits into. The category is used for ordering and organizing TinyLife.Emotions.EmotionModifier instances. |
Color | Color | The color that represents this emotion. The color is used as a backdrop for TinyLife.Emotions.EmotionModifier instances of this type. |
TextureRegion | Icon | This emotion's icon, which is used in the portrait section for a TinyLife.Objects.Person that has this emotion |
String | Name | This emotion's name |
Static Fields
Type | Name | Summary |
---|---|---|
EmotionType | Asleep | |
EmotionType | Bored | |
EmotionType | Creative | |
EmotionType | Embarrassed | |
EmotionType | Fine | |
EmotionType | Focused | |
EmotionType | Frisky | |
EmotionType | Happy | |
EmotionType | Sad | |
EmotionType | Stunned | |
IDictionary<String, EmotionType> | Types | A registry of all TinyLife.Emotions.EmotionType instances from the game and mods |
EmotionType | Uncomfortable |
Static Methods
Return | Name | Summary |
---|---|---|
EmotionType | Register ( EmotionType ) |
Registers the given emotion type to the TinyLife.Emotions.EmotionType.Types registry |