Bump versions for rc8 (#704)

This commit is contained in:
Luan Nico
2021-03-12 19:52:32 -05:00
committed by GitHub
parent 769bb711c3
commit 496b94e712
7 changed files with 17 additions and 12 deletions

View File

@ -23,13 +23,11 @@ class InfiniteEffectGame extends BaseGame with TapDetector {
SquareComponent redSquare; SquareComponent redSquare;
SquareComponent orangeSquare; SquareComponent orangeSquare;
InfiniteEffectGame() @override
: greenSquare = makeSquare(green), Future<void> onLoad() async {
redSquare = makeSquare(red), add(greenSquare = makeSquare(green));
orangeSquare = makeSquare(orange) { add(redSquare = makeSquare(red));
add(greenSquare); add(orangeSquare = makeSquare(orange));
add(redSquare);
add(orangeSquare);
} }
@override @override

View File

@ -9,7 +9,8 @@ import '../../commons/square_component.dart';
class MoveEffectGame extends BaseGame with TapDetector { class MoveEffectGame extends BaseGame with TapDetector {
SquareComponent square; SquareComponent square;
MoveEffectGame() { @override
Future<void> onLoad() async {
add( add(
square = SquareComponent()..position = Vector2.all(100), square = SquareComponent()..position = Vector2.all(100),
); );

View File

@ -12,7 +12,8 @@ import '../../commons/square_component.dart';
class RotateEffectGame extends BaseGame with TapDetector { class RotateEffectGame extends BaseGame with TapDetector {
SquareComponent square; SquareComponent square;
RotateEffectGame() { @override
Future<void> onLoad() async {
add( add(
square = SquareComponent() square = SquareComponent()
..position = Vector2.all(200) ..position = Vector2.all(200)

View File

@ -11,7 +11,8 @@ class ScaleEffectGame extends BaseGame with TapDetector {
SquareComponent square; SquareComponent square;
bool grow = true; bool grow = true;
ScaleEffectGame() { @override
Future<void> onLoad() async {
add( add(
square = SquareComponent() square = SquareComponent()
..position = Vector2.all(200) ..position = Vector2.all(200)

View File

@ -11,7 +11,8 @@ final green = Paint()..color = const Color(0xAA338833);
class SequenceEffectGame extends BaseGame with TapDetector { class SequenceEffectGame extends BaseGame with TapDetector {
SquareComponent greenSquare; SquareComponent greenSquare;
SequenceEffectGame() { @override
Future<void> onLoad() async {
add( add(
greenSquare = SquareComponent() greenSquare = SquareComponent()
..paint = green ..paint = green

View File

@ -1,6 +1,8 @@
# CHANGELOG # CHANGELOG
## [next] ## [next]
## 1.0.0-rc8
- Migrate to null safety - Migrate to null safety
- Refactor the joystick code - Refactor the joystick code
- Fix example app - Fix example app

View File

@ -1,11 +1,12 @@
name: flame name: flame
description: A minimalist Flutter game engine, provides a nice set of somewhat independent modules you can choose from. description: A minimalist Flutter game engine, provides a nice set of somewhat independent modules you can choose from.
version: 1.0.0-rc7-nullsafety.0 version: 1.0.0-rc8
homepage: https://github.com/flame-engine/flame homepage: https://github.com/flame-engine/flame
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
meta: ^1.3.0
ordered_set: ^3.0.0-nullsafety ordered_set: ^3.0.0-nullsafety
vector_math: '>=2.1.0-nullsafety <3.0.0' vector_math: '>=2.1.0-nullsafety <3.0.0'