You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The following properties are sentinels that will be replaced with getters
67
+
29
68
/**
30
69
* @property {Phaser.Signal} onAddedToGroup - This signal is dispatched when the parent is added to a new Group.
31
70
*/
32
-
this.onAddedToGroup=newPhaser.Signal();
71
+
onAddedToGroup: null,
33
72
34
73
/**
35
74
* @property {Phaser.Signal} onRemovedFromGroup - This signal is dispatched when the parent is removed from a Group.
36
75
*/
37
-
this.onRemovedFromGroup=newPhaser.Signal();
76
+
onRemovedFromGroup: null,
38
77
39
78
/**
40
79
* @property {Phaser.Signal} onRemovedFromWorld - This signal is dispatched if this item or any of its parents are removed from the game world.
41
80
*/
42
-
this.onRemovedFromWorld=newPhaser.Signal();
81
+
onRemovedFromWorld: null,
43
82
44
83
/**
45
84
* @property {Phaser.Signal} onDestroy - This signal is dispatched when the parent is destoyed.
46
85
*/
47
-
this.onDestroy=newPhaser.Signal();
86
+
onDestroy: null,
48
87
49
88
/**
50
89
* @property {Phaser.Signal} onKilled - This signal is dispatched when the parent is killed.
51
90
*/
52
-
this.onKilled=newPhaser.Signal();
91
+
onKilled: null,
53
92
54
93
/**
55
94
* @property {Phaser.Signal} onRevived - This signal is dispatched when the parent is revived.
56
95
*/
57
-
this.onRevived=newPhaser.Signal();
96
+
onRevived: null,
58
97
59
98
/**
60
99
* @property {Phaser.Signal} onOutOfBounds - This signal is dispatched when the parent leaves the world bounds (only if Sprite.checkWorldBounds is true).
61
100
*/
62
-
this.onOutOfBounds=newPhaser.Signal();
101
+
onOutOfBounds: null,
63
102
64
103
/**
65
104
* @property {Phaser.Signal} onEnterBounds - This signal is dispatched when the parent returns within the world bounds (only if Sprite.checkWorldBounds is true).
66
105
*/
67
-
this.onEnterBounds=newPhaser.Signal();
106
+
onEnterBounds: null,
68
107
69
108
/**
70
109
* @property {Phaser.Signal} onInputOver - This signal is dispatched if the parent is inputEnabled and receives an over event from a Pointer.
71
-
* @default null
72
110
*/
73
-
this.onInputOver=null;
111
+
onInputOver: null,
74
112
75
113
/**
76
114
* @property {Phaser.Signal} onInputOut - This signal is dispatched if the parent is inputEnabled and receives an out event from a Pointer.
77
-
* @default null
78
115
*/
79
-
this.onInputOut=null;
116
+
onInputOut: null,
80
117
81
118
/**
82
119
* @property {Phaser.Signal} onInputDown - This signal is dispatched if the parent is inputEnabled and receives a down event from a Pointer.
83
-
* @default null
84
120
*/
85
-
this.onInputDown=null;
121
+
onInputDown: null,
86
122
87
123
/**
88
124
* @property {Phaser.Signal} onInputUp - This signal is dispatched if the parent is inputEnabled and receives an up event from a Pointer.
89
-
* @default null
90
125
*/
91
-
this.onInputUp=null;
126
+
onInputUp: null,
92
127
93
128
/**
94
129
* @property {Phaser.Signal} onDragStart - This signal is dispatched if the parent is inputEnabled and receives a drag start event from a Pointer.
95
-
* @default null
96
130
*/
97
-
this.onDragStart=null;
131
+
onDragStart: null,
98
132
99
133
/**
100
134
* @property {Phaser.Signal} onDragStop - This signal is dispatched if the parent is inputEnabled and receives a drag stop event from a Pointer.
101
-
* @default null
102
135
*/
103
-
this.onDragStop=null;
136
+
onDragStop: null,
104
137
105
138
/**
106
139
* @property {Phaser.Signal} onAnimationStart - This signal is dispatched when the parent has an animation that is played.
107
-
* @default null
108
140
*/
109
-
this.onAnimationStart=null;
141
+
onAnimationStart: null,
110
142
111
143
/**
112
144
* @property {Phaser.Signal} onAnimationComplete - This signal is dispatched when the parent has an animation that finishes playing.
113
-
* @default null
114
145
*/
115
-
this.onAnimationComplete=null;
146
+
onAnimationComplete: null,
116
147
117
148
/**
118
149
* @property {Phaser.Signal} onAnimationLoop - This signal is dispatched when the parent has an animation that loops playback.
0 commit comments