TiledMapPolylineObject.cs 526 B

123456789101112131415
  1. using Microsoft.Xna.Framework;
  2. namespace MonoGame.Extended.Tiled
  3. {
  4. public sealed class TiledMapPolylineObject : TiledMapObject
  5. {
  6. public TiledMapPolylineObject(int identifier, string name, Vector2[] points, SizeF size, Vector2 position, float rotation = 0, float opacity = 1, bool isVisible = true, string type = null)
  7. : base(identifier, name, size, position, rotation, opacity, isVisible, type)
  8. {
  9. Points = points;
  10. }
  11. public Vector2[] Points { get; }
  12. }
  13. }