OpenRA.ActorReference.ActorReference C# (CSharp) Method

ActorReference() public method

public ActorReference ( string type, MiniYaml>.Dictionary inits ) : System
type string
inits MiniYaml>.Dictionary
return System
        public ActorReference(string type, Dictionary<string, MiniYaml> inits)
        {
            Type = type;
            initDict = Exts.Lazy(() =>
            {
                var dict = new TypeDictionary();
                foreach (var i in inits)
                    dict.Add(LoadInit(i.Key, i.Value));
                return dict;
            });
        }

Same methods

ActorReference::ActorReference ( string type ) : System