Fixed this return types for Phaser.Geom.Polygon

This commit is contained in:
Jason Kwok 2020-01-30 23:39:08 +08:00
parent edb035512b
commit 24fbe810df

View file

@ -107,7 +107,7 @@ var Polygon = new Class({
* *
* @param {array} points - Points defining the perimeter of this polygon. Please check function description above for the different supported formats. * @param {array} points - Points defining the perimeter of this polygon. Please check function description above for the different supported formats.
* *
* @return {Phaser.Geom.Polygon} This Polygon object. * @return {this} This Polygon object.
*/ */
setTo: function (points) setTo: function (points)
{ {