CircularEntity constructor

CircularEntity(
  1. Vector position,
  2. double radius, {
  3. ImageRenderer? image,
  4. Color? color,
})

Creates a new circle entity.

Implementation

CircularEntity(Vector position, this.radius,
    {ImageRenderer? image, Color? color})
    : super(position, Size(radius * 2, radius * 2),
          image: image, color: color);