public void Cast() { CMDParser.process = new List <CMD>(); foreach (var cmd in cmds) { CMDParser.Execute(cmd); } }
public void Cast(Char owner, params Char[] targets) { CMDParser.process = new List <CMD>(); List <Char> list = new List <Char>(); list.Add(owner); list.AddRange(targets); CMDParser.chars = list; foreach (var cmd in cmds) { CMDParser.Execute(cmd); } }