UNPKG
gibbon.js
Version:
latest (3.1.1)
3.1.1
3.1.0
3.0.1
3.0.0
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.16
2.10.15
2.10.14
2.10.13
2.10.12
2.10.11
2.10.10
2.10.9
2.10.8
2.10.7
2.10.6
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.2
2.9.1
2.9.0
2.8.19
2.8.18
2.8.17
2.8.16
2.8.15
2.8.14
2.8.13
2.8.12
2.8.11
2.8.10
2.8.9
2.8.8
2.8.7
2.8.6
2.8.5
2.8.4
2.8.3
2.8.2
2.8.1
2.8.0
2.7.35
2.7.34
2.7.33
2.7.32
2.7.31
2.7.30
2.7.29
2.7.28
2.7.27
2.7.26
2.7.25
2.7.24
2.7.23
2.7.22
2.7.21
2.7.20
2.7.19
2.7.18
2.7.17
2.7.16
2.7.15
2.7.14
2.7.13
2.7.12
2.7.11
2.7.10
2.7.9
2.7.8
2.7.7
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.3
2.6.2
2.6.1
2.6.0
2.5.5
2.5.4
2.5.3
2.5.2
2.4.0
2.3.1
2.2.0
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Actor/Component system for use with pixi.js.
github.com/justin-m-lacy/gibbon
justin-m-lacy/gibbon
gibbon.js
/
src
/
components
/
actor-data.ts
17 lines
(11 loc)
•
275 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
{ Component } from
'../core/component'
;
/** * Component whose purpose is to hold/share data. */
export
class
ActorData
<
T extends any
>
extends
Component
{
data
: T;
constructor
(
data
: T) {
super
();
this
.
data
=
data
; } }