Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
1d661379
Commit
1d661379
authored
Aug 10, 2015
by
Ian Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move game/main.dart to game/lib/main.dart.
parent
338dc618
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
main.dart
examples/demo_launcher/lib/main.dart
+1
-1
BUILD.gn
examples/game/BUILD.gn
+1
-1
main.dart
examples/game/lib/main.dart
+3
-3
No files found.
examples/demo_launcher/lib/main.dart
View file @
1d661379
...
...
@@ -79,7 +79,7 @@ List<SkyDemo> demos = [
),
new
SkyDemo
(
name:
'Asteroids'
,
href:
'../../game/main.dart'
,
href:
'../../game/
lib/
main.dart'
,
bundle:
'game.skyx'
,
description:
'2D game using sprite sheets'
,
textTheme:
typography
.
white
,
...
...
examples/game/BUILD.gn
View file @
1d661379
...
...
@@ -5,7 +5,7 @@
import("//sky/build/sky_app.gni")
sky_app("game") {
main_dart = "main.dart"
main_dart = "
lib/
main.dart"
manifest = "sky.yaml"
if (is_android) {
...
...
examples/game/main.dart
→
examples/game/
lib/
main.dart
View file @
1d661379
...
...
@@ -13,13 +13,13 @@ import 'package:sky/widgets/framework.dart';
import
'package:sky/widgets/task_description.dart'
;
import
'package:sky/widgets/theme.dart'
;
import
'
lib/
game_demo.dart'
;
import
'
lib/
sprites.dart'
;
import
'game_demo.dart'
;
import
'sprites.dart'
;
AssetBundle
_initBundle
(
)
{
if
(
rootBundle
!=
null
)
return
rootBundle
;
return
new
NetworkAssetBundle
(
Uri
.
base
);
return
new
NetworkAssetBundle
(
new
Uri
.
directory
(
Uri
.
base
.
origin
)
);
}
final
AssetBundle
_bundle
=
_initBundle
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment