Ejemplo n.º 1
0
        public static Thought MakeThought(ThoughtDef def)
        {
            Thought thought = (Thought)Activator.CreateInstance(def.ThoughtClass);

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

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