mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 01:46:02 +03:00
Change common parts of model API to use signed integers rather than unsigned for less casting
This commit is contained in:
parent
de41fb5508
commit
ae2e70a223
23 changed files with 102 additions and 102 deletions
|
@ -8,12 +8,12 @@ public class ImageLayer : BaseLayer
|
|||
/// <summary>
|
||||
/// The X position of the image layer in pixels.
|
||||
/// </summary>
|
||||
public uint X { get; set; } = 0;
|
||||
public int X { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// The Y position of the image layer in pixels.
|
||||
/// </summary>
|
||||
public Optional<uint> Y { get; set; } = 0;
|
||||
public int Y { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the image drawn by this layer is repeated along the X axis.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue