SpriteComponent.square constructor

SpriteComponent.square(
  1. double size,
  2. String imagePath
)

Implementation

SpriteComponent.square(double size, String imagePath)
    : this.rectangle(size, size, imagePath);