mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
almost finished making tiled maps creatable from code
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
namespace MonoGame.Extended.Tiled
|
||||
{
|
||||
public sealed class TiledMapRectangleObject : TiledMapObject
|
||||
{
|
||||
internal TiledMapRectangleObject(ContentReader input)
|
||||
: base(input)
|
||||
public TiledMapRectangleObject(int identifier, string name, Size2 size, Vector2 position, float rotation = 0, float opacity = 1, bool isVisible = true)
|
||||
: base(identifier, name, size, position, rotation, opacity, isVisible)
|
||||
{
|
||||
}
|
||||
|
||||
public override TiledMapObjectType Type => TiledMapObjectType.Rectangle;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user