public ActionSay(Actor actor, Actor target, string text, RogueGame.Sayflags flags) : base(actor) { m_Target = target #if DEBUG ?? throw new ArgumentNullException(nameof(target)) #endif ; m_Text = text; m_Flags = flags; }
public ActionSay(Actor actor, RogueGame game, Actor target, string text, RogueGame.Sayflags flags) : base(actor, game) { if (target == null) { throw new ArgumentNullException("target"); } m_Target = target; m_Text = text; m_Flags = flags; }