mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
Flutter formaFlutter formatt
This commit is contained in:
@ -27,7 +27,8 @@ class Ball extends BodyComponent {
|
||||
Paint _randomPaint() {
|
||||
math.Random rng = math.Random();
|
||||
return PaletteEntry(Color.fromARGB(rng.nextInt(255), rng.nextInt(255),
|
||||
rng.nextInt(255), rng.nextInt(255))).paint;
|
||||
rng.nextInt(255), rng.nextInt(255)))
|
||||
.paint;
|
||||
}
|
||||
|
||||
void _createBody(double radius, Vector2 position) {
|
||||
|
||||
Reference in New Issue
Block a user