| Index: client/samples/dartcombat/player.dart
|
| diff --git a/client/samples/dartcombat/player.dart b/client/samples/dartcombat/player.dart
|
| index fbea71163718224b0cf2a571e45941903987faea..b220c7fe3d8d0dfc941bed84a4eb64bb772f76ed 100644
|
| --- a/client/samples/dartcombat/player.dart
|
| +++ b/client/samples/dartcombat/player.dart
|
| @@ -3,7 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| /** A local player (API known to the main isolate when creating players). */
|
| -interface Player factory PlayerImpl {
|
| +interface Player default PlayerImpl {
|
|
|
| Player();
|
|
|
| @@ -17,7 +17,7 @@ interface Player factory PlayerImpl {
|
| }
|
|
|
| /** A remote enemy (API visible to a player to communicate with the enemy). */
|
| -interface Enemy factory EnemyImpl {
|
| +interface Enemy default EnemyImpl {
|
| Enemy(SendPort port);
|
|
|
| /** tell the enemy that we are ready, receive confirmation asynchronously. */
|
|
|