Index: sky/examples/game/main.dart |
diff --git a/sky/examples/game/main.dart b/sky/examples/game/main.dart |
index 6282cce5a31a26aa94df134d906fc50ab371595a..8e971fc1cd2769f5d6c006f251486c15f27d9904 100644 |
--- a/sky/examples/game/main.dart |
+++ b/sky/examples/game/main.dart |
@@ -1,12 +1,11 @@ |
import 'dart:sky'; |
-import 'lib/game_demo.dart'; |
-import 'lib/sprites.dart'; |
+ |
import 'package:sky/widgets/basic.dart'; |
-import 'package:sky/app/view.dart'; |
-import 'package:sky/widgets/ui_node.dart'; |
import 'package:sky/widgets/raised_button.dart'; |
+import 'package:sky/widgets/widget.dart'; |
-AppView app; |
+import 'lib/game_demo.dart'; |
+import 'lib/sprites.dart'; |
void main() { |
// Load images |
@@ -28,7 +27,7 @@ void allLoaded(ImageMap loader) { |
class GameDemoApp extends App { |
- UINode build() { |
+ Widget build() { |
return new Stack([ |
new GameDemo(), |
// new StackPositionedChild( |
@@ -53,9 +52,9 @@ ImageMap _loader; |
class GameDemo extends OneChildRenderObjectWrapper { |
- GameDemo({ UINode child, Object key }) |
+ GameDemo({ Widget child, Object key }) |
: super(child: child, key: key); |
GameDemoBox get root { return super.root; } |
GameDemoBox createNode() => new GameDemoBox(new GameDemoWorld(_loader)); |
-} |
+} |