mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
19 lines
643 B
C#
19 lines
643 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
namespace MonoGame.Extended.Tiled
|
|
{
|
|
public sealed class TiledMapTileObject : TiledMapObject
|
|
{
|
|
public TiledMapTileObject(int identifier, string name, TiledMapTileset tileset, TiledMapTilesetTile tile,
|
|
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)
|
|
{
|
|
Tileset = tileset;
|
|
Tile = tile;
|
|
}
|
|
|
|
public TiledMapTilesetTile Tile { get; }
|
|
public TiledMapTileset Tileset { get; }
|
|
}
|
|
}
|