mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
* Added `CalculateMinimumVector2` and `CalculateMaximumVector2` as replacement for `Point2.Minimum` and `Point2.Maximum` * Remove `Point2`
16 lines
524 B
C#
16 lines
524 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
namespace MonoGame.Extended.Tiled
|
|
{
|
|
public sealed class TiledMapPolygonObject : TiledMapObject
|
|
{
|
|
public TiledMapPolygonObject(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; }
|
|
}
|
|
}
|