internal CustomPathInfo(Dictionary <string, Texture2D> textures, CustomPathConfig config) { this.Seasonal = true; this.Textures = textures; this.Name = config.Name; this.Alternates = config.Alternatives; this.Price = config.Price; this.Salesman = config.Salesman; this.Requirements = config.Requirements; this.Speed = config.SpeedBoost; }
/********* ** Public methods *********/ internal CustomPathInfo(Texture2D texture, CustomPathConfig config) { this.Seasonal = false; this.Textures = new Dictionary <string, Texture2D> { { "default", texture } }; this.Name = config.Name; this.Alternates = config.Alternatives; this.Price = config.Price; this.Salesman = config.Salesman; this.Requirements = config.Requirements; this.Speed = config.SpeedBoost; }