mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
16 lines
586 B
C#
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;
|
|
}
|
|
} |