mirror of
https://github.com/photonstorm/phaser
synced 2025-02-26 12:27:09 +00:00
Add 'point' property for points
https://doc.mapeditor.org/en/latest/reference/json-map-format/#point-example
This commit is contained in:
parent
df1537fa36
commit
fb881a54b9
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ var ParseObject = function (tiledObject, offsetX, offsetY)
|
|||
{
|
||||
parsedObject.text = tiledObject.text;
|
||||
}
|
||||
else if (tiledObject.point)
|
||||
{
|
||||
parsedObject.point = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Otherwise, assume it is a rectangle
|
||||
|
|
Loading…
Add table
Reference in a new issue