-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGLPixiLayerElements.js
62 lines (62 loc) · 2.22 KB
/
GLPixiLayerElements.js
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var GLPixLayerElement;
(function (GLPixLayerElement) {
var GLElement = (function (_super) {
__extends(GLElement, _super);
function GLElement() {
return _super !== null && _super.apply(this, arguments) || this;
}
return GLElement;
}(PIXI.Sprite));
GLPixLayerElement.GLElement = GLElement;
var AnimatedGLElement = (function (_super) {
__extends(AnimatedGLElement, _super);
function AnimatedGLElement() {
return _super !== null && _super.apply(this, arguments) || this;
}
AnimatedGLElement.prototype.setState = function (state) {
this._state = state;
};
AnimatedGLElement.prototype.getState = function () {
return this._state;
};
AnimatedGLElement.prototype.hasState = function () {
return this._state != null;
};
AnimatedGLElement.prototype.setPosition = function (x, y) {
this.x = x;
this.y = y;
};
return AnimatedGLElement;
}(GLElement));
GLPixLayerElement.AnimatedGLElement = AnimatedGLElement;
var State = (function () {
function State(context) {
this._context = context;
}
;
State.prototype.onOver = function () { };
;
State.prototype.onOut = function () { };
;
State.prototype.onClick = function () { };
;
State.prototype.onReplaceElementOnContainer = function (newx, newy) { };
;
State.prototype.onChanged = function () { };
;
State.prototype.onTouchStart = function () { };
;
State.prototype.onTouchEnd = function () { };
;
State.prototype.onTouchEndOutside = function () { };
;
return State;
}());
GLPixLayerElement.State = State;
})(GLPixLayerElement || (GLPixLayerElement = {}));
//# sourceMappingURL=GLPixiLayerElements.js.map