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
Copy file name to clipboardExpand all lines: src/geom/Line.js
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,27 @@ Phaser.Line.prototype = {
182
182
183
183
returnresults;
184
184
185
+
},
186
+
187
+
/**
188
+
* Returns a new Line object with the same values for the start and end properties as this Line object.
189
+
* @method Phaser.Line#clone
190
+
* @param {Phaser.Line} output - Optional Line object. If given the values will be set into the object, otherwise a brand new Line object will be created and returned.
0 commit comments