using Microsoft.Xna.Framework; namespace MonoGame.Extended.Tilemaps { /// /// Represents a point object in a tilemap with no spatial extent. /// /// /// Point objects are typically used as markers or spawn points and do not /// have collision volumes. /// public class PointObject : TilemapObject { /// public override RectangleF Bounds { get { return new(Position.X, Position.Y, 0, 0); } } // NOTE: Point objects have no bounding volume for collision detection /// /// Initializes a new instance of the class. /// /// The unique identifier for the object. /// The position of the point. public PointObject(int id, Vector2 position) : base(id, position) { } } }