WangColor constructor

WangColor({
  1. required String name,
  2. required String color,
  3. required int tile,
  4. double probability = 0,
  5. CustomProperties properties = CustomProperties.empty,
})

Implementation

WangColor({
  required this.name,
  required this.color,
  required this.tile,
  this.probability = 0,
  this.properties = CustomProperties.empty,
});