Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
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
劳工
zeroing-engine
Commits
6d7c3150
Commit
6d7c3150
authored
Mar 30, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发个版本
parent
9da58864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
StackContainer.ts
src/zeroing/game-warpper/StackContainer.ts
+1
-1
launcher.ts
src/zeroing/launcher.ts
+5
-4
No files found.
src/zeroing/game-warpper/StackContainer.ts
View file @
6d7c3150
...
...
@@ -56,7 +56,7 @@ export class StackContainer extends Node {
*/
pop
(
dispatch
=
true
)
{
let
len
=
this
.
children
.
length
;
if
(
len
==
0
)
{
if
(
len
<=
1
)
{
return
false
;
}
this
.
removeChildAt
(
len
-
1
);
...
...
src/zeroing/launcher.ts
View file @
6d7c3150
...
...
@@ -2,15 +2,16 @@
* Created by rockyl on 2019-11-08.
*/
import
{
Stage
}
from
"../2d/display"
;
import
{
registerCustomModuleFromConfig
,
registerScripts
,
RENDERER_TYPE
,
setProcessMetaLibs
,
StageScaleMode
}
from
".."
;
import
{
GameStage
}
from
"./game-warpper/index"
;
import
{
setGlobalContext
}
from
"./behavior-runtime"
;
import
{
Stage
}
from
"../2d/display/index"
;
import
{
GameStage
,
registerCustomModuleFromConfig
}
from
"./game-warpper/index"
;
import
{
setGlobalContext
,
setProcessMetaLibs
}
from
"./behavior-runtime/index"
;
import
{
globalLoader
}
from
"../2d/loader/Loader"
;
import
{
Event
}
from
"../2d/events/Event"
;
import
builtinLoadingView
from
"./game-warpper/LoadingView"
;
import
{
queryParams
}
from
"./web"
;
import
{
initAutoLayout
}
from
"./game-warpper/auto-layout"
;
import
{
registerScripts
}
from
"./decorators/scripts"
;
import
{
RENDERER_TYPE
,
StageScaleMode
}
from
"../2d/const"
;
export
let
gameStage
:
GameStage
;
...
...
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