File tree 4 files changed +16
-0
lines changed
4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ import {
24
24
system ,
25
25
API ,
26
26
Name ,
27
+ ZIndex ,
28
+ ComputeZIndex ,
27
29
} from '../../packages/ecs/src' ;
28
30
import { NodeJSAdapter , sleep } from '../utils' ;
29
31
@@ -38,6 +40,7 @@ describe('Coordinates', () => {
38
40
39
41
const MyPlugin : Plugin = ( ) => {
40
42
system ( PreStartUp ) ( StartUpSystem ) ;
43
+ system ( ( s ) => s . before ( ComputeZIndex ) ) ( StartUpSystem ) ;
41
44
} ;
42
45
43
46
class StartUpSystem extends System {
@@ -59,6 +62,7 @@ describe('Coordinates', () => {
59
62
Circle ,
60
63
Visibility ,
61
64
Name ,
65
+ ZIndex ,
62
66
) . write ,
63
67
) ;
64
68
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ import {
25
25
API ,
26
26
Name ,
27
27
Ellipse ,
28
+ ZIndex ,
29
+ ComputeZIndex ,
28
30
} from '../../packages/ecs/src' ;
29
31
import { NodeJSAdapter , sleep } from '../utils' ;
30
32
@@ -42,6 +44,7 @@ describe('Ellipse', () => {
42
44
43
45
const MyPlugin : Plugin = ( ) => {
44
46
system ( PreStartUp ) ( StartUpSystem ) ;
47
+ system ( ( s ) => s . before ( ComputeZIndex ) ) ( StartUpSystem ) ;
45
48
} ;
46
49
47
50
class StartUpSystem extends System {
@@ -63,6 +66,7 @@ describe('Ellipse', () => {
63
66
Ellipse ,
64
67
Visibility ,
65
68
Name ,
69
+ ZIndex ,
66
70
) . write ,
67
71
) ;
68
72
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ import {
26
26
system ,
27
27
API ,
28
28
Name ,
29
+ ZIndex ,
30
+ ComputeZIndex ,
29
31
} from '../../packages/ecs/src' ;
30
32
import { NodeJSAdapter , sleep } from '../utils' ;
31
33
@@ -43,6 +45,7 @@ describe('Hierarchy', () => {
43
45
44
46
const MyPlugin : Plugin = ( ) => {
45
47
system ( PreStartUp ) ( StartUpSystem ) ;
48
+ system ( ( s ) => s . before ( ComputeZIndex ) ) ( StartUpSystem ) ;
46
49
} ;
47
50
48
51
class StartUpSystem extends System {
@@ -64,6 +67,7 @@ describe('Hierarchy', () => {
64
67
Circle ,
65
68
Visibility ,
66
69
Name ,
70
+ ZIndex ,
67
71
) . write ,
68
72
) ;
69
73
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ import {
26
26
Name ,
27
27
Rect ,
28
28
DropShadow ,
29
+ ZIndex ,
30
+ ComputeZIndex ,
29
31
} from '../../packages/ecs/src' ;
30
32
import { NodeJSAdapter , sleep } from '../utils' ;
31
33
@@ -43,6 +45,7 @@ describe('Rect', () => {
43
45
44
46
const MyPlugin : Plugin = ( ) => {
45
47
system ( PreStartUp ) ( StartUpSystem ) ;
48
+ system ( ( s ) => s . before ( ComputeZIndex ) ) ( StartUpSystem ) ;
46
49
} ;
47
50
48
51
class StartUpSystem extends System {
@@ -65,6 +68,7 @@ describe('Rect', () => {
65
68
Visibility ,
66
69
Name ,
67
70
DropShadow ,
71
+ ZIndex ,
68
72
) . write ,
69
73
) ;
70
74
You can’t perform that action at this time.
0 commit comments