CircularEntity constructor
CircularEntity(
- Vector position,
- double radius, {
- ImageRenderer? image,
- 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);