mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			219 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			219 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:flame/game.dart';
 | 
						|
import 'package:flutter/material.dart';
 | 
						|
 | 
						|
import './game.dart';
 | 
						|
 | 
						|
void main() {
 | 
						|
  WidgetsFlutterBinding.ensureInitialized();
 | 
						|
  runApp(
 | 
						|
    GameWidget(
 | 
						|
      game: MyGame(),
 | 
						|
    ),
 | 
						|
  );
 | 
						|
}
 |