UNPKG
@fritzy/pixi-scene
Version:
latest (0.3.0)
0.3.0
0.2.0
0.1.1
0.1.0
@fritzy/pixi-scene
/
index.js
29 lines
(17 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const
Pixi
=
require
(
'pixi.js'
);
class
Scene
extends
Pixi.Container
{
constructor
(
game
) {
super
();
this
.
game
= game; }
standUp
(
) { }
tearDown
(
) { }
update
(
dt, du
) { } }
module
.
exports
= {
Scene
,
Manager
:
require
(
'./manager'
) }