Files
MonoGame.Extended/Source/MonoGame.Extended.Tiled/TiledMapPolylineObject.cs
T
2017-11-21 20:57:32 +10:00

16 lines
586 B
C#

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