RTSEngine.Data.Team.RTSBuildingData.SetController C# (CSharp) Method

SetController() public method

public SetController ( ReflectedScript>.Dictionary d, string cType, string key ) : void
d ReflectedScript>.Dictionary
cType string
key string
return void
        public void SetController(Dictionary<string, ReflectedScript> d, string cType, string key)
        {
            switch(cType.Trim().ToLower()) {
                case "act":
                case "action":
                    d.TryGetValue(key, out DefaultActionController);
                    break;
            }
        }