Beispiel #1
0
        public static Thought MakeThought(ThoughtDef def)
        {
            Thought thought = (Thought)Activator.CreateInstance(def.ThoughtClass);

            thought.def = def;
            thought.Init();
            return(thought);
        }
        public static Thought MakeThought(ThoughtDef def)
        {
            Thought obj = (Thought)Activator.CreateInstance(def.ThoughtClass);

            obj.def = def;
            obj.Init();
            return(obj);
        }