Ejemplo n.º 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;
 }
Ejemplo n.º 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);
        }