mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Unify mixin names (#1114)
This commit is contained in:
@ -12,7 +12,7 @@ import 'package:flutter/material.dart' hide Image, Draggable;
|
||||
enum Shapes { circle, rectangle, polygon }
|
||||
|
||||
class MultipleShapesExample extends FlameGame
|
||||
with HasCollidables, HasDraggableComponents, FPSCounter {
|
||||
with HasCollidables, HasDraggables, FPSCounter {
|
||||
static const description = '''
|
||||
An example with many hitboxes that move around on the screen and during
|
||||
collisions they change color depending on what it is that they have collided
|
||||
|
||||
@ -11,7 +11,7 @@ import 'package:flame/palette.dart';
|
||||
|
||||
enum Shapes { circle, rectangle, polygon }
|
||||
|
||||
class SimpleShapesExample extends FlameGame with HasTappableComponents {
|
||||
class SimpleShapesExample extends FlameGame with HasTappables {
|
||||
static const description = '''
|
||||
An example which adds random shapes on the screen when you tap it, if you
|
||||
tap on an already existing shape it will remove that shape and replace it
|
||||
|
||||
Reference in New Issue
Block a user