예제 #1
0
 public static Cart GenerateCart(CartDef def)
 {
     Cart cart = (Cart)Verse.ThingMaker.MakeThing(def);
     cart.pather = new Cart_Pather(cart);
     cart.drawer = new Cart_DrawerTracker(cart);
     return cart;
 }
예제 #2
0
        public static Cart GenerateCart(CartDef def)
        {
            Cart cart = (Cart)Verse.ThingMaker.MakeThing(def);

            cart.pather = new Cart_Pather(cart);
            cart.drawer = new Cart_DrawerTracker(cart);
            return(cart);
        }