Rename App to Engine

This commit is contained in:
Marty Oehme 2018-07-09 15:16:28 +02:00
parent 1208583c7f
commit e18de1d84c
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
import 'package:angular/angular.dart';
import 'dart:html' as html;
import 'package:rules_of_living/src/App.dart';
import 'package:rules_of_living/src/Engine.dart';
@Component(
selector: 'my-app',
@ -10,7 +10,7 @@ import 'package:rules_of_living/src/App.dart';
class AppComponent implements OnInit {
var name = "World";
App engine;
Engine engine;
@ViewChild("caCanvas")
html.CanvasElement canvas;
@ -24,7 +24,7 @@ class AppComponent implements OnInit {
If you see this
the app is broken :(
''', canvas.width/2, canvas.height/2);
engine = new App(canvas);
engine = new Engine(canvas);
html.window.animationFrame.then(animFrame);
}