Files
MonoGame.Extended/source/MonoGame.Extended.Tiled/TiledMapPolygonObject.cs
T

16 lines
522 B
C#

using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Tiled
{
public sealed class TiledMapPolygonObject : TiledMapObject
{
public TiledMapPolygonObject(int identifier, string name, Point2[] 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 Point2[] Points { get; }
}
}