Esempio n. 1
0
 protected DialogElement(DialogElementType type) => Type = type;
 public void AddIntElement(DialogElementType type, int i)
 {
     DialogElements.Add(type);
     DialogElementsParamIndex.Add(i);
 }
 public void AddFloatElement(DialogElementType type, float f)
 {
     DialogElements.Add(type);
     DialogFloatParams.Add(f);
     DialogElementsParamIndex.Add(DialogFloatParams.Count - 1);
 }
 public void AddElementWithoutParam(DialogElementType type)
 {
     DialogElements.Add(type);
     DialogElementsParamIndex.Add(0);
 }
 public void AddStringElement(DialogElementType type, string text)
 {
     DialogElements.Add(type);
     DialogStringParams.Add(text);
     DialogElementsParamIndex.Add(DialogStringParams.Count - 1);
 }
Esempio n. 6
0
 protected TextElementBase(DialogElementType type) : base(type)
 {
 }