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 orangeSquare;
InfiniteEffectGame()
: greenSquare = makeSquare(green),
redSquare = makeSquare(red),
orangeSquare = makeSquare(orange) {
add(greenSquare);
add(redSquare);
add(orangeSquare);
@override
Future<void> onLoad() async {
add(greenSquare = makeSquare(green));
add(redSquare = makeSquare(red));
add(orangeSquare = makeSquare(orange));
}
@override

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,11 +1,12 @@
name: flame
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
dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
ordered_set: ^3.0.0-nullsafety
vector_math: '>=2.1.0-nullsafety <3.0.0'