mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 02:06:02 +03:00
Remove .Model namespace as it is unnecessary
This commit is contained in:
parent
8a1da18dfd
commit
d85494e7a9
98 changed files with 111 additions and 170 deletions
32
src/DotTiled/Layers/ImageLayer.cs
Normal file
32
src/DotTiled/Layers/ImageLayer.cs
Normal file
|
@ -0,0 +1,32 @@
|
|||
namespace DotTiled;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an image layer in a map.
|
||||
/// </summary>
|
||||
public class ImageLayer : BaseLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// The X position of the image layer in pixels.
|
||||
/// </summary>
|
||||
public uint X { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// The Y position of the image layer in pixels.
|
||||
/// </summary>
|
||||
public uint Y { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the image drawn by this layer is repeated along the X axis.
|
||||
/// </summary>
|
||||
public bool RepeatX { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the image drawn by this layer is repeated along the Y axis.
|
||||
/// </summary>
|
||||
public bool RepeatY { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// The image to be drawn by this image layer.
|
||||
/// </summary>
|
||||
public Image? Image { get; set; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue