mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
chore: Fix some spelling mistakes (#2148)
Fix all* typos reported by CSpell, and add some more words into the dictionaries. (Except for two in the flame_isolate/example package).
This commit is contained in:
@ -5,7 +5,7 @@ import 'package:flame/game.dart';
|
||||
import 'package:flame/sprite.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SpritebatchLoadExample extends FlameGame {
|
||||
class SpriteBatchLoadExample extends FlameGame {
|
||||
static const String description = '''
|
||||
In this example we do the same thing as in the normal sprite batch example,
|
||||
but in this example the logic and loading is moved into a component that
|
||||
@ -19,7 +19,7 @@ class SpritebatchLoadExample extends FlameGame {
|
||||
}
|
||||
|
||||
class MySpriteBatchComponent extends SpriteBatchComponent
|
||||
with HasGameRef<SpritebatchLoadExample> {
|
||||
with HasGameRef<SpriteBatchLoadExample> {
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
final spriteBatch = await gameRef.loadSpriteBatch('boom.png');
|
||||
|
||||
Reference in New Issue
Block a user