BoardDefinition constructor

BoardDefinition({
  1. VectorDefinition offset = VectorDefinition.zero,
  2. VectorDefinition? size,
  3. required String texture,
  4. VectorDefinition tiles = VectorDefinition.one,
})

Implementation

BoardDefinition({
  this.offset = VectorDefinition.zero,
  this.size,
  required this.texture,
  this.tiles = VectorDefinition.one,
});