Skip to content

Commit

Permalink
PlatformGame uses new library
Browse files Browse the repository at this point in the history
  • Loading branch information
ess committed Nov 30, 2012
1 parent 2e2e46c commit d83a6fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions PlatformGame.dart
Expand Up @@ -4,16 +4,13 @@ Platform game example
@author Danny Hendrix
**/

#library('PlatformGame');

#import('dart:html');

#import('game/Game.dart');
import 'dart:html';
import 'lib/Game.dart';

void main()
{
Game game = new Game();
game.start();
document.on.keyDown.add(game.handleKey);
document.on.keyUp.add(game.handleKey);
}
}

0 comments on commit d83a6fb

Please sign in to comment.