Files
MonoGame.Extended/source/MonoGame.Extended.Tiled/TiledMapPolylineObject.cs
T
Christopher WhitleyandGitHub 9239fced04 Remove Point2 (#875)
* Added `CalculateMinimumVector2` and `CalculateMaximumVector2` as replacement for `Point2.Minimum` and `Point2.Maximum`

* Remove `Point2`
2024-05-29 01:32:50 -04:00

16 lines
526 B
C#

using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Tiled
{
public sealed class TiledMapPolylineObject : TiledMapObject
{
public TiledMapPolylineObject(int identifier, string name, Vector2[] points, SizeF size, Vector2 position, float rotation = 0, float opacity = 1, bool isVisible = true, string type = null)
: base(identifier, name, size, position, rotation, opacity, isVisible, type)
{
Points = points;
}
public Vector2[] Points { get; }
}
}