Class SpeechBubbleData
- Namespace
- TrinketTinker.Models
- Assembly
- TrinketTinker.dll
public sealed class SpeechBubbleData : WeightedRandData
- Inheritance
-
SpeechBubbleData
- Inherited Members
Properties
Color
Text color
public string? Color { get; set; }
Property Value
FadeIn
Percent of timer to spend on fade in
public float FadeIn { get; set; }
Property Value
FadeOut
Percent of timer to spend on fade out
public float FadeOut { get; set; }
Property Value
JunimoText
Draw using the junimo text font
public bool JunimoText { get; set; }
Property Value
LayerDepth
Draw layer depth, relative to the companion's layer depth
public float LayerDepth { get; set; }
Property Value
Offset
Speech bubble draw offset
public Vector2 Offset { get; set; }
Property Value
- Vector2
RandomSpeech
Additional speech that may randomly be called, only valid for the top level speech.
public IReadOnlyList<SpeechBubbleData>? RandomSpeech { get; set; }
Property Value
ScrollType
Scroll BG type, see
public int ScrollType { get; set; }
Property Value
Shake
Random shake to apply to the speech bubble
public int Shake { get; set; }
Property Value
Text
Text for speech bubble
public string Text { get; set; }
Property Value
Timer
Timer to show speech bubble for, miliseconds
public double Timer { get; set; }
Property Value
Methods
TryPickRand(Random, Farmer, out SpeechBubbleData?)
public bool TryPickRand(Random rand, Farmer owner, out SpeechBubbleData? speech)
Parameters
rand
Randomowner
Farmerspeech
SpeechBubbleData