Files
flame/doc/examples/tiled/lib/main.dart
2019-01-11 12:41:00 -02:00

15 lines
297 B
Dart

import 'package:flame/components/tiled_component.dart';
import 'package:flame/game.dart';
import 'package:flutter/widgets.dart';
void main() {
var game = new TiledGame();
runApp(game.widget);
}
class TiledGame extends BaseGame {
TiledGame() {
add(new TiledComponent('map.tmx'));
}
}