Example #1
0
 public void AddText(textToScreen value)
 {
     ui.Add(value);
 }
 public override void OnTriggerExit(Actor triggeringActor)
 {
     textToScreen p = new textToScreen(text, textPosition, color);
         Stage.ActiveStage.GetQB<TriggerQB>().RemoveText(p);
 }
Example #3
0
 public void RemoveText(textToScreen value)
 {
     List<textToScreen> temp = new List<textToScreen>(ui);
     foreach (textToScreen v in temp)
     {
         if (v.text == value.text)
             ui.Remove(v);
     }
 }