public void DisplayActionEventName(MAction a) { var data = new HitDisplayData(); data.Color = CombatGUIParams.WHITE; data.Hit = null; data.Target = a.Data.Source.GameHandle; data.Text = a.ActiveAbility.Type.ToString().Replace("_", " "); data.YOffset = CombatGUIParams.FLOAT_OFFSET; data.Display(); }
public void DisplayText(string text, CChar tgt, Color color) { var data = new HitDisplayData(); data.Color = color; data.Hit = null; data.Target = tgt.GameHandle; data.Text = text; data.YOffset = CombatGUIParams.FLOAT_OFFSET; data.Display(); }
public void DisplayBark(string bark, GameObject o) { var data = new HitDisplayData(); data.Color = CombatGUIParams.WHITE; data.Delay = ViewParams.BARK_DELAY; data.Dur = ViewParams.BARK_DUR; data.Priority = ViewParams.DMG_PRIORITY; data.Target = o; data.Text = bark; data.YOffset = CombatGUIParams.FLOAT_OFFSET; data.Display(); }